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:
parent
b60f0995d9
commit
16cccc2fcc
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue