mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 01:12:56 +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>`,
|
||||
|
||||
// triggered on every change
|
||||
onUpdate() {
|
||||
onUpdate: () => {
|
||||
const json = this.getJSON()
|
||||
// send the content to an API here
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user