add read only example

This commit is contained in:
Philipp Kühn
2018-08-22 19:28:57 +02:00
parent c6fb4ce8a3
commit ff8b138a3c
9 changed files with 266 additions and 222 deletions

View File

@@ -50,20 +50,20 @@ import Icon from 'Components/Icon'
import { Editor } from 'tiptap'
export default {
components: {
Editor,
Icon,
},
data() {
return {
linkUrl: null,
linkMenuIsActive: false,
}
},
methods: {
onUpdate(state) {
// console.log(state.doc.toJSON())
},
},
components: {
Editor,
Icon,
},
data() {
return {
linkUrl: null,
linkMenuIsActive: false,
}
},
methods: {
onUpdate(state) {
// console.log(state.doc.toJSON())
},
},
}
</script>