How to Add WYSIWYG Editor in Magento 2 Admin Form

How to Add WYSIWYG Editor in Magento 2 Admin Form

WYSIWYG editor has transformed the way of creating web stores now a days! Earlier people had to learn to add text or a piece of HTML code to a website and thus sometimes they refuse to even own a website to get rid of such complex tasks. But because of the presence of WYSIWYG editor in Magento, content editing and updating seems as simple as pie.

It has made the whole process of developing websites less ordeal than it once was thought to be. You can simply add text and see the preview of what and how it will show up, that’s the reason why the editor is called WYSIWYG descriptively “What You See is What You Get”!

Here, I will explain you the steps to add WYSISYG editor in Magento 2 Admin Form:


And you are done. WYSIWYG editor will start working now. Let me know if you have any queries or found any difficulties adding it to Magento 2, I’m always here to help you people.

Previous Article

How to Add Custom Image Attribute in Magento 2 Categories

Next Article

Magento 2 Website Pre-Launch Checklist

Write a Comment
    1. For category attribute, when you create category attribute, you just need to specify one parameter like below
      ‘wysiwyg_enabled’ => true,

  1. It is very simple dont do all this things just put below code in
    app\code\NameSpace\Module\view\adminhtml\layout\module_module_form.xml

    wysiwyg
    block
    true
    content
    admin__field-wide

    true

Leave a Comment

Your email address will not be published. Required fields are marked *

Get Connect With Us

Subscribe to our email newsletter to get the latest posts delivered right to your email.
Pure inspiration, zero spam ✨