Skip to content

Commit

Permalink
fix #31
Browse files Browse the repository at this point in the history
  • Loading branch information
nshenderov committed Jan 30, 2023
1 parent ba71616 commit 61a1a72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions admin/src/components/Input/CKEditor/index.js
Expand Up @@ -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' );
Expand Down

0 comments on commit 61a1a72

Please sign in to comment.