whitespace

This commit is contained in:
Philipp Kühn
2018-11-14 10:28:35 +01:00
parent 0f15b14ca4
commit a224b53c5a
4 changed files with 17 additions and 0 deletions

View File

@@ -1,10 +1,12 @@
export default {
props: {
editor: {
default: null,
type: Object,
},
},
watch: {
editor: {
immediate: true,
@@ -18,7 +20,9 @@ export default {
},
},
},
render(createElement) {
return createElement('div')
},
}

View File

@@ -1,12 +1,14 @@
import FloatingMenu from '../Plugins/FloatingMenu'
export default {
props: {
editor: {
default: null,
type: Object,
},
},
data() {
return {
menu: {
@@ -16,6 +18,7 @@ export default {
},
}
},
watch: {
editor: {
immediate: true,
@@ -33,6 +36,7 @@ export default {
},
},
},
render() {
if (!this.editor) {
return null
@@ -47,4 +51,5 @@ export default {
menu: this.menu,
})
},
}

View File

@@ -1,10 +1,12 @@
export default {
props: {
editor: {
default: null,
type: Object,
},
},
render() {
if (!this.editor) {
return null
@@ -18,4 +20,5 @@ export default {
getMarkAttrs: this.editor.getMarkAttrs.bind(this.editor),
})
},
}

View File

@@ -1,12 +1,14 @@
import MenuBubble from '../Plugins/MenuBubble'
export default {
props: {
editor: {
default: null,
type: Object,
},
},
data() {
return {
menu: {
@@ -16,6 +18,7 @@ export default {
},
}
},
watch: {
editor: {
immediate: true,
@@ -33,6 +36,7 @@ export default {
},
},
},
render() {
if (!this.editor) {
return null
@@ -47,4 +51,5 @@ export default {
menu: this.menu,
})
},
}