diff --git a/admin/src/components/Input/CKEditor/index.js b/admin/src/components/Input/CKEditor/index.js index fb25629..2a0bc5c 100644 --- a/admin/src/components/Input/CKEditor/index.js +++ b/admin/src/components/Input/CKEditor/index.js @@ -54,9 +54,8 @@ const Editor = ({ onChange, name, value, disabled, preset, maxLength }) => { editor={window.CKEditor5.editorClassic.ClassicEditor} config={config?.editorConfig} disabled={disabled} - data={value || ""} + data={value} onReady={(editor) => { - editor.setData(value || ""); if(config.editorConfig.WordCountPlugin){ const wordCountPlugin = editor.plugins.get( 'WordCount' );