Skip to content

How To Disable Page Builder for specific form field in Magento 2?

I want to disable the page builder for specific fields in my custom module.
I want to show the default wysiwyg editor.
and all other page I need page builder with wysiwyg editor

Here is my UI component field

<field name="description" formElement="wysiwyg">
<argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
        <item name="source" xsi:type="string">BannerSlider</item>
    </item>
</argument>
<settings>
    <additionalClasses>
        <class name="admin__field-wide">true</class>
    </additionalClasses>
    <validation>
        <rule name="required-entry" xsi:type="boolean">false</rule>
    </validation>
    <label />
    <dataScope>description</dataScope>
</settings>
<formElements>
    <wysiwyg>
        <settings>
            <wysiwyg>true</wysiwyg>
        </settings>
    </wysiwyg>
</formElements>