From d011e1f23a844bdca4ca5afad6733f8d2577cfac Mon Sep 17 00:00:00 2001 From: Chris Ellinger Date: Fri, 19 Oct 2018 09:18:19 -0400 Subject: [PATCH] Updates the ssr example to use the proper destructured variable Editor in the example returns undefined. Changes the example to work properly. --- examples/nuxt-ssr-example/nuxt-ssr-example.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/nuxt-ssr-example/nuxt-ssr-example.vue b/examples/nuxt-ssr-example/nuxt-ssr-example.vue index 2f2b6ac..214c980 100644 --- a/examples/nuxt-ssr-example/nuxt-ssr-example.vue +++ b/examples/nuxt-ssr-example/nuxt-ssr-example.vue @@ -43,8 +43,8 @@ onEditorReady(editor) { console.log('editor ready!', editor) }, - onEditorChange({ editor, html, text }) { - console.log('editor change!', editor, html, text) + onEditorChange({ quill, html, text }) { + console.log('editor change!', quill, html, text) this.content = html } }