From ace79a3abafa55da51a3bbbfc21f90e85250ec86 Mon Sep 17 00:00:00 2001 From: yanmao <55792257+yanmao-cc@users.noreply.github.com> Date: Wed, 8 Dec 2021 14:22:16 +0800 Subject: [PATCH] Update index.tsx --- examples/react/components/editor/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/react/components/editor/index.tsx b/examples/react/components/editor/index.tsx index 53fbc6c6..7f8b77f1 100644 --- a/examples/react/components/editor/index.tsx +++ b/examples/react/components/editor/index.tsx @@ -122,6 +122,7 @@ const EditorComponent: React.FC = ({ // ); // 获取编辑器的html console.log('html:', engine.current?.getHtml()); + // console.log('json:', engine.current?.getJsonValue()); }, [loading, autoSave, props.onChange], ),