Skip to content

Commit 339763e

Browse files
committed
AC-14602:Migrate from TinyMCE to Hugerte.org | Eslint Fixes
1 parent e7985e2 commit 339763e

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

app/code/Magento/Ui/view/base/requirejs-config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ var config = {
1010
'chartjs/es6-shim.min': {},
1111
'hugerte/hugerte.min': {
1212
exports: 'hugerte',
13-
init: function() {
13+
init: function () {
14+
'use strict';
1415
window.tinymce = window.hugerte;
1516
return window.hugerte;
1617
}

lib/web/mage/adminhtml/wysiwyg/tiny_mce/tinymceAdapter.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -404,17 +404,17 @@ define([
404404

405405
require(['mage/adminhtml/browser'], function () {
406406
MediabrowserUtility.openDialog(wUrl, false, false, typeTitle, {
407-
/**
408-
* Closed.
409-
*/
410-
closed: function () {
411-
frameDialog.show();
412-
jQuery('.tox-hugerte-aux').show();
413-
},
414-
415-
targetElementId: self.activeEditor() ? self.activeEditor().id : null
416-
}
417-
);
407+
/**
408+
* Closed.
409+
*/
410+
closed: function () {
411+
frameDialog.show();
412+
jQuery('.tox-hugerte-aux').show();
413+
},
414+
415+
targetElementId: self.activeEditor() ? self.activeEditor().id : null
416+
}
417+
);
418418
});
419419
},
420420

0 commit comments

Comments
 (0)