fix: remove editor text persistence (#311)

* fix: remove editor text persistence

* fix: remove text persistence from comment/response editor

* fix: stop comment/response validation on editor cancel button
This commit is contained in:
Awais Ansari
2022-10-04 18:58:50 +05:00
committed by GitHub
parent fc86417444
commit 11e9ebcfd0
4 changed files with 57 additions and 49 deletions

View File

@@ -92,7 +92,7 @@ export default function TinyMCEEditor(props) {
browser_spellcheck: true,
a11y_advanced_options: true,
autosave_interval: '1s',
autosave_restore_when_empty: true,
autosave_restore_when_empty: false,
plugins: 'autosave codesample link lists image imagetools code emoticons charmap',
toolbar: 'undo redo'
+ ' | formatselect | bold italic underline'