diff --git a/apps/dashboard/src/lib/components/TextEditor/index.svelte b/apps/dashboard/src/lib/components/TextEditor/index.svelte index 0d7e873d..35790854 100644 --- a/apps/dashboard/src/lib/components/TextEditor/index.svelte +++ b/apps/dashboard/src/lib/components/TextEditor/index.svelte @@ -56,10 +56,9 @@ editor.on('Paste Change input Undo Redo', function () { clearTimeout(editorChangeHandlerId); + const html = editor.getContent(); editorChangeHandlerId = setTimeout(function () { - console.log('changed'); - const html = editor.getContent(); if (onChange) { onChange(html); }