From bfd19e2dffe709dbe129ca11fdd5bc89608bfd62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Fri, 1 Oct 2021 21:41:55 +0200 Subject: [PATCH] docs: fix example --- docs/guide/output.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/output.md b/docs/guide/output.md index 84a80cc27..151067494 100644 --- a/docs/guide/output.md +++ b/docs/guide/output.md @@ -100,7 +100,7 @@ const editor = new Editor({ content: `

Example Content

`, // triggered on every change - onUpdate() { + onUpdate: () => { const json = this.getJSON() // send the content to an API here },