docs: fix example

This commit is contained in:
Philipp Kühn 2021-10-01 21:41:55 +02:00
parent 0a86626c6e
commit bfd19e2dff

View File

@ -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
},