Clear edit textarea status before going to editmode

This commit is contained in:
Anton Ignatov 2019-05-07 15:54:32 +02:00
parent 72a1c9b9bd
commit ea545801aa

View file

@ -150,6 +150,7 @@
animateSpinner(null, false);
FilePreviewModal.init();
DragNDropSteps.clearFiles();
if (tinyMCE.editors.step_description_textarea) tinyMCE.editors.step_description_textarea.remove();
TinyMCE.init('#step_description_textarea');
$("#new-step-checklists fieldset.nested_step_checklists ul").each(function () {
enableCheckboxSorting(this);