0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Added the reply box disappearing properly with the toggle when finished

refs https://github.com/TryGhost/Team/issues/1703
This commit is contained in:
James Morris 2022-07-21 17:48:02 +01:00
parent b60f0995d9
commit 16cccc2fcc

View file

@ -130,6 +130,9 @@ const Form = (props) => {
// Clear message and blur on success
editor.chain().clearContent().blur().run();
props.toggle();
setFormOpen(false);
props.toggleReplyMode();
} catch (e) {
// eslint-disable-next-line no-console
console.error(e);