mirror of
https://github.com/strapi/strapi.git
synced 2025-09-18 04:47:27 +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();
|
this.focus();
|
||||||
// Update the parent reducer
|
// Update the parent reducer
|
||||||
this.sendData(newEditorState);
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
this.sendData(newEditorState);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -220,10 +220,9 @@ class Wysiwyg extends React.Component {
|
|||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
this.focus();
|
this.focus();
|
||||||
// Update the parent reducer
|
|
||||||
this.sendData(newEditorState);
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
this.sendData(newEditorState);
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user