mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 22:44:22 +08:00
Fix TinyMCE editor initialization for step editing [SCI-3511]
This commit is contained in:
parent
83bc9eb22f
commit
2f39b7f22b
1 changed files with 2 additions and 0 deletions
|
@ -157,6 +157,8 @@
|
||||||
$("#step_name").focus();
|
$("#step_name").focus();
|
||||||
$("#new-step-main-tab a").on("shown.bs.tab", function() {
|
$("#new-step-main-tab a").on("shown.bs.tab", function() {
|
||||||
$("#step_name").focus();
|
$("#step_name").focus();
|
||||||
|
tinyMCE.editors.step_description_textarea.remove();
|
||||||
|
TinyMCE.init('#step_description_textarea');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue