fix: delete answers without changing expandable (#328)

This commit is contained in:
Raymond Zhou
2023-05-17 11:22:51 -07:00
committed by GitHub
parent be8f9ecc86
commit 741b83bdf2
9 changed files with 378 additions and 98 deletions

View File

@@ -152,8 +152,6 @@ export const setupCustomBehavior = ({
updateContent,
});
});
// TODO: consider using tinyMCE onblur for all react state updates
editor.on('blur', () => updateContent(editor.getContent()));
}
editor.on('ExecCommand', (e) => {
if (editorType === 'text' && e.command === 'mceFocus') {