Merge branch 'main' of github.com:ueberdosis/tiptap
This commit is contained in:
@@ -100,7 +100,7 @@ const editor = new Editor({
|
|||||||
content: `<p>Example Content</p>`,
|
content: `<p>Example Content</p>`,
|
||||||
|
|
||||||
// triggered on every change
|
// triggered on every change
|
||||||
onUpdate() {
|
onUpdate: () => {
|
||||||
const json = this.getJSON()
|
const json = this.getJSON()
|
||||||
// send the content to an API here
|
// send the content to an API here
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user