Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/code/Magento/Ui/view/base/web/js/form/element/wysiwyg.js
Original file line number Diff line number Diff line change
@@ -50,13 +50,6 @@ define([
this.$wysiwygEditorButton = $(element);
}.bind(this));

// disable editor completely after initialization is field is disabled
varienGlobalEvents.attachEventHandler('wysiwygEditorInitialized', function () {
if (this.disabled()) {
this.setDisabled(true);
}
}.bind(this));

return this;
},

@@ -108,7 +101,6 @@ define([

/* eslint-disable no-undef */
if (typeof wysiwyg !== 'undefined' && wysiwyg.activeEditor()) {

if (wysiwyg && disabled) {
wysiwyg.setEnabledStatus(false);
wysiwyg.getPluginButtons().prop('disabled', 'disabled');

0 comments on commit bac46ce

Please sign in to comment.