Skip to content

Commit 4fc9405

Browse files
AC-14602:Migrate from TinyMCE to Hugerte.org | MFTF fixes
1 parent 8bd2f85 commit 4fc9405

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ define([
505505
toggle: function () {
506506
var content;
507507

508-
if (!tinyMCE.get(this.getId())) {
508+
if (!hugerte.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 (tinyMCE.get(this.getId())) {
530-
$(this.getId()).value = tinyMCE.get(this.getId()).getContent();
529+
if (hugerte.get(this.getId())) {
530+
$(this.getId()).value = hugerte.get(this.getId()).getContent();
531531
}
532532
},
533533

0 commit comments

Comments
 (0)