mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°5298 - Update CKEditor to version 5
This commit is contained in:
@@ -774,10 +774,7 @@ function ExtKeyWidget(id, sTargetClass, sFilter, sTitle, bSelectMode, oWizHelper
|
||||
if (this.name != '') {
|
||||
if ($(this).hasClass('htmlEditor')) {
|
||||
var sId = $(this).attr('id');
|
||||
var editorInst = CKEDITOR.instances[sId];
|
||||
if (editorInst) {
|
||||
editorInst.destroy();
|
||||
}
|
||||
CombodoCKEditorHandler.DeleteInstance(sId);
|
||||
if ($('#'+sId).data('timeout_validate') != undefined) {
|
||||
clearInterval($('#'+sId).data('timeout_validate'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user