magenxcommerce/module-page-builder

Page Builder module

Installs: 10

Dependents: 2

Suggesters: 2

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:magento2-module

2.2.1-p1 2021-10-21 22:05 UTC

This package is auto-updated.

Last update: 2024-11-22 05:29:39 UTC


README

The Magento_PageBuilder module provides an enhancement for the default Magento WYSIWYG editor. It installs an alternative editor in the Admin area for building content.

The PageBuilder editor can be used on the following content pages:

  • Category Pages
  • CMS Pages
  • CMS Blocks
  • Dynamic Blocks

Enable the module

The PageBuilder module and the editor is enabled by default after installation.

The editor itself is enabled globally in the Admin area under Stores > Configuration > Content Management > Advanced Content Tool > Enable Page Builder. This setting determines the is_pagebuilder_enabled configuration value.

Disable the module

You can disable the PageBuilder module for a specific field by adding the following entry to a field configuration in an XML configuration file:

<item name="wysiwygConfigData" xsi:type="array">
    <item name="is_pagebuilder_enabled" xsi:type="boolean">false</item>
</item>

Example

The following example disables the PageBuilder editor for the content field.

<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <fieldset name="content" sortOrder="10">
        <field name="content" formElement="wysiwyg">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="source" xsi:type="string">page</item>
                    <item name="wysiwygConfigData" xsi:type="array">
                        <item name="is_pagebuilder_enabled" xsi:type="boolean">false</item>
                    </item>
                </item>
            </argument>
        </field>
    </fieldset>
</form>

Note: Disabling the editor this way overrides the value of is_pagebuilder_enabled for the specified field.