diff --git a/editor/editor/mode/text.js b/editor/editor/mode/text.js index 326b04a66ce858..708d4c6a0080ea 100644 --- a/editor/editor/mode/text.js +++ b/editor/editor/mode/text.js @@ -1,7 +1,11 @@ function Text( { html, onChange } ) { + const changeValue = ( event ) => { + onChange( event.target.value ); + }; + return (
-