Skip to content

Commit e419353

Browse files
committed
Merge remote-tracking branch 'trigger/AC-375' into AC-246
2 parents eb3edf6 + 7d2f2c9 commit e419353

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

dev/tests/static/testsuite/Magento/Test/Js/_files/eslint/.eslintrc-tinymce

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
"rules": {
33
'no-restricted-syntax': [
44
'error',
5-
{
6-
message: "addCommand is removed. Update code to be compatible with tinymce5",
7-
selector: "CallExpression[callee.object.name='editor'][callee.property.name='addCommand']"
8-
},
95
{
106
message: "addButton is removed. Update code to be compatible with tinymce5",
117
selector: "CallExpression[callee.object.name='editor'][callee.property.name='addButton']"

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ define([
269269
}
270270
};
271271

272+
// Set default initial height
273+
settings['min_height'] = this.config.tinymce['min_height'] ? this.config.tinymce['min_height'] : 250;
274+
272275
if (this.config.skin) {
273276
settings.skin = this.config.skin;
274277
}

0 commit comments

Comments
 (0)