@kvass/rich-text 1.4.16 → 1.4.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kvass/rich-text",
3
- "version": "1.4.16",
3
+ "version": "1.4.18",
4
4
  "description": "rich text component for kvass",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/Component.vue CHANGED
@@ -258,6 +258,7 @@ export default {
258
258
  .filter(Boolean)
259
259
  .filter(cmd => !appearance || cmd.appearance[appearance])
260
260
  },
261
+
261
262
  setLink(value) {
262
263
  let editor = this.editor.chain().focus()
263
264
  switch (this.bubbleState) {
@@ -317,7 +318,6 @@ export default {
317
318
  onUpdate: () => {
318
319
  let html = this.editor.getHTML().replace(/^<p>\s*<\/p>$/, '')
319
320
 
320
- console.log(html)
321
321
  this.$emit('input', html)
322
322
  },
323
323
  onSelectionUpdate: ({ editor }) => {