Skip to content

Commit

Permalink
magento/magento2-page-builder#558: Developer can style content types …
Browse files Browse the repository at this point in the history
…output differently per viewport - Added body id in Storefront, in tinymce4 in admin
  • Loading branch information
hannahnida committed Oct 20, 2020
1 parent 32ed03c commit 606292d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/Theme/view/frontend/layout/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<page layout="3columns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<update handle="default_head_blocks"/>
<body>
<attribute name="id" value="html-body"/>
<block name="require.js" class="Magento\Framework\View\Element\Template" template="Magento_Theme::page/js/require_js.phtml" />
<referenceContainer name="after.body.start">
<block class="Magento\RequireJs\Block\Html\Head\Config" name="requirejs-config"/>
Expand Down
1 change: 1 addition & 0 deletions lib/web/mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ define([
plugins: this.config.tinymce4.plugins,
toolbar: this.config.tinymce4.toolbar,
adapter: this,
body_id: "html-body",

/**
* @param {Object} editor
Expand Down

0 comments on commit 606292d

Please sign in to comment.