mirror of
https://github.com/strapi/strapi.git
synced 2025-09-17 20:40:17 +00:00
Merge pull request #9685 from strapi/fix/wysiwyg-send-button
Fix WYSIWYG state
This commit is contained in:
commit
1a07977ae2
@ -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