0

Hi everyone,

I want to disable upload images in wysiwyg editor only in my module, how can i do that ?

I'm in magento 2.3.3

Button "Insert image.." enter image description here

Plugin image in toolbar enter image description here

Thankyou !

1 Answer 1

1

In your module add this in your editor :-

       <argument name="data" xsi:type="array">
            <item name="config" xsi:type="array">
                <item name="wysiwygConfigData" xsi:type="array">
                    <item name="add_images" xsi:type="boolean">false</item>
                </item>>
            </item>
       </argument>
2
  • Yes, but the button image in toolbar of wysiwyg stay appears, How can i hide it ?
    – aissyass
    Jan 28, 2020 at 11:44
  • how you can add this editor in code please add this code Jan 28, 2020 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.