Skip to content

Commit 78a7717

Browse files
committed
AC-14602:Migrate from TinyMCE to Hugerte.org | Revert Adapter Changes
1 parent c2b6f2b commit 78a7717

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ define([
335335
* @param {String} id
336336
*/
337337
get: function (id) {
338-
return hugerte.get(id);
338+
return tinyMCE.get(id);
339339
},
340340

341341
/**
@@ -505,7 +505,7 @@ define([
505505
toggle: function () {
506506
var content;
507507

508-
if (!hugerte.get(this.getId())) {
508+
if (!tinyMCE.get(this.getId())) {
509509
this.turnOn();
510510

511511
return true;
@@ -526,8 +526,8 @@ define([
526526
* On form validation.
527527
*/
528528
onFormValidation: function () {
529-
if (hugerte.get(this.getId())) {
530-
$(this.getId()).value = hugerte.get(this.getId()).getContent();
529+
if (tinyMCE.get(this.getId())) {
530+
$(this.getId()).value = tinyMCE.get(this.getId()).getContent();
531531
}
532532
},
533533

0 commit comments

Comments
 (0)