diff --git a/packages/ui-default/components/editor/index.tsx b/packages/ui-default/components/editor/index.tsx index 97da3f71f..7875477c1 100644 --- a/packages/ui-default/components/editor/index.tsx +++ b/packages/ui-default/components/editor/index.tsx @@ -246,6 +246,8 @@ export default class Editor extends DOMAttachedObject { />; } + this.valueCache = value; + this.reactRoot = ReactDOM.createRoot(ele); this.reactRoot.render(); $dom.hide();