We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a29b455 + d73cca2 commit bac46ceCopy full SHA for bac46ce
app/code/Magento/Ui/view/base/web/js/form/element/wysiwyg.js
@@ -50,13 +50,6 @@ define([
50
this.$wysiwygEditorButton = $(element);
51
}.bind(this));
52
53
- // disable editor completely after initialization is field is disabled
54
- varienGlobalEvents.attachEventHandler('wysiwygEditorInitialized', function () {
55
- if (this.disabled()) {
56
- this.setDisabled(true);
57
- }
58
- }.bind(this));
59
-
60
return this;
61
},
62
@@ -108,7 +101,6 @@ define([
108
101
109
102
/* eslint-disable no-undef */
110
103
if (typeof wysiwyg !== 'undefined' && wysiwyg.activeEditor()) {
111
112
104
if (wysiwyg && disabled) {
113
105
wysiwyg.setEnabledStatus(false);
114
106
wysiwyg.getPluginButtons().prop('disabled', 'disabled');
0 commit comments