Skip to content

Commit 606292d

Browse files
committed
magento/magento2-page-builder#558: Developer can style content types output differently per viewport - Added body id in Storefront, in tinymce4 in admin
1 parent 32ed03c commit 606292d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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)