Skip to content

Commit 3b139c4

Browse files
committed
Disable all editor buttons instead of the last one
1 parent 032316d commit 3b139c4

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/form/element

1 file changed

+2
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/wysiwyg.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ define([
4545
component: this,
4646
selector: 'button'
4747
}, function (element) {
48-
this.$wysiwygEditorButton = $(element);
48+
this.$wysiwygEditorButton = this.$wysiwygEditorButton ?
49+
this.$wysiwygEditorButton.add($(element)) : $(element);
4950
}.bind(this));
5051

5152
return this;

0 commit comments

Comments
 (0)