mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 00:39:49 +00:00
Fix WYSIWYG state
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
This commit is contained in:
parent
8167f90b56
commit
17c29747b4
@ -207,9 +207,9 @@ class Wysiwyg extends React.Component {
|
||||
() => {
|
||||
this.focus();
|
||||
// Update the parent reducer
|
||||
this.sendData(newEditorState);
|
||||
}
|
||||
);
|
||||
this.sendData(newEditorState);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -220,10 +220,9 @@ class Wysiwyg extends React.Component {
|
||||
},
|
||||
() => {
|
||||
this.focus();
|
||||
// Update the parent reducer
|
||||
this.sendData(newEditorState);
|
||||
}
|
||||
);
|
||||
this.sendData(newEditorState);
|
||||
return;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user