Skip to content

Commit 68c903f

Browse files
Merge pull request #6266 from magento-obsessive-owls/imported-magento-magento2-30565
[Imported] magento/magento2-page-builder#558: Developer can style content types …
2 parents 2f4d989 + 72fea37 commit 68c903f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

app/code/Magento/Cms/Test/Mftf/Section/CmsNewBlockBlockActionsSection/BlockContentSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1010
<section name="BlockContentSection">
1111
<element name="TextArea" type="input" selector="#cms_block_form_content"/>
12-
<element name="image" type="file" selector="#tinymce img"/>
12+
<element name="image" type="file" selector=".mce-content-body img"/>
1313
<element name="contentIframe" type="iframe" selector="cms_block_form_content_ifr"/>
1414
</section>
1515
</sections>

app/code/Magento/Theme/view/frontend/layout/default.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<page layout="3columns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
99
<update handle="default_head_blocks"/>
1010
<body>
11+
<attribute name="id" value="html-body"/>
1112
<block name="require.js" class="Magento\Framework\View\Element\Template" template="Magento_Theme::page/js/require_js.phtml" />
1213
<referenceContainer name="after.body.start">
1314
<block class="Magento\RequireJs\Block\Html\Head\Config" name="requirejs-config"/>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ define([
205205
plugins: this.config.tinymce4.plugins,
206206
toolbar: this.config.tinymce4.toolbar,
207207
adapter: this,
208+
'body_id': 'html-body',
208209

209210
/**
210211
* @param {Object} editor

0 commit comments

Comments
 (0)