mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 17:43:49 +08:00
docs: fix example
This commit is contained in:
parent
0a86626c6e
commit
bfd19e2dff
@ -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
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user