Add Wysiwyg attribute to category in Magento 2.2.4Show WYSIWYG button below custom category attributeHow to...

“I had a flat in the centre of town, but I didn’t like living there, so …”

New invention compresses matter to produce energy? or other items? (Short Story)

Professor forcing me to attend a conference

What is "desert glass" and what does it do to the PCs?

Under what conditions would I NOT add my Proficiency Bonus to a Spell Attack Roll (or Saving Throw DC)?

Do natural melee weapons (from racial traits) trigger Improved Divine Smite?

The need of reserving one's ability in job interviews

Naming Characters after Friends/Family

Is this nominative case or accusative case?

Ignoring Someone as Wrongful Speech

Is every open circuit a capacitor?

Infinitive vs Gerund

If nine coins are tossed, what is the probability that the number of heads is even?

An Undercover Army

Was it really inappropriate to write a pull request for the company I interviewed with?

Is there a math expression equivalent to the conditional ternary operator?

What is the meaning of option 'by' in TikZ Intersections

Why is my explanation wrong?

Questions of the type "What do you think other people would think?"

Rationale to prefer local variables over instance variables?

Is "cogitate" an appropriate word for this?

Ultrafilters as a double dual

What's the best tool for cutting holes into duct work?

What is Tony Stark injecting into himself in Iron Man 3?



Add Wysiwyg attribute to category in Magento 2.2.4


Show WYSIWYG button below custom category attributeHow to add wysiwyg editor to custom frontend form of custom module in Magento1.9How to add the WYSIWYG editor in customer form in admin areaAdding wysiwyg editor to Magento 2 product attribute options pageHow to create custom category attribute with wysiwyg editor in magento2?Can't get a new category attribute valueTinyMCE (WYSIWYG) in DynamicRows bugCan't edit value of WYSIWYG Editor after first saveMagento2: Category custom textarea with wysiwyg editor attribute value blank issueMagento 2.3.0 WYSIWYG editor's image not loading on frontend













1















I followed this reference Inchoo to add new Wysiwyg attribute to category in Magento 2.2.4. It's working fine. My custom attribute successfully added in the category but it's showing only textarea instead of Wysiwyg editor.



Help would be appreciated!










share|improve this question



























    1















    I followed this reference Inchoo to add new Wysiwyg attribute to category in Magento 2.2.4. It's working fine. My custom attribute successfully added in the category but it's showing only textarea instead of Wysiwyg editor.



    Help would be appreciated!










    share|improve this question

























      1












      1








      1


      1






      I followed this reference Inchoo to add new Wysiwyg attribute to category in Magento 2.2.4. It's working fine. My custom attribute successfully added in the category but it's showing only textarea instead of Wysiwyg editor.



      Help would be appreciated!










      share|improve this question














      I followed this reference Inchoo to add new Wysiwyg attribute to category in Magento 2.2.4. It's working fine. My custom attribute successfully added in the category but it's showing only textarea instead of Wysiwyg editor.



      Help would be appreciated!







      category-attribute wysiwyg magento2.2.4






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 3 '18 at 7:22









      Prince PatelPrince Patel

      14k55280




      14k55280






















          3 Answers
          3






          active

          oldest

          votes


















          0














          After digging into magento attribute table structure I found that Magento has changed wysiwyg_enabled field to is_wysiwyg_enabled from catalog_eav_attribute table.



          So we need to change wysiwyg_enabled to is_wysiwyg_enabled from setup script



          $eavSetup->addAttribute(
          MagentoCatalogModelCategory::ENTITY,
          'menu_content',
          [
          'type' => 'text',
          'label' => 'Menu Content',
          'input' => 'textarea',
          'required' => false,
          'sort_order' => 4,
          'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
          'is_wysiwyg_enabled' => true,
          'is_html_allowed_on_front' => true,
          'group' => 'General Information',
          ]
          );





          share|improve this answer
























          • Is this working for you ? i got only textarea instead of wysiwyg

            – Manish Maheshwari
            Sep 28 '18 at 12:32



















          0














          $eavSetup->addAttribute(
          MagentoCatalogModelProduct::ENTITY,
          'menu_content',
          [
          'type' => 'text',
          'backend' => '',
          'frontend' => '',
          'label' => 'Menu Content',
          'input' => 'textarea',
          'class' => '',
          'source' => '',
          'backend' => 'MagentoEavModelEntityAttributeBackendArrayBackend',
          'global' => MagentoCatalogModelResourceModelEavAttribute::SCOPE_GLOBAL,
          'visible' => true,
          'required' => false,
          'user_defined' => false,
          'default' => 0,
          'searchable' => false,
          'filterable' => true,
          'comparable' => false,
          'visible_on_front' => true,
          'used_in_product_listing' => true,
          'is_wysiwyg_enabled' => TRUE,
          'unique' => false,
          'apply_to' => ''
          ]
          );


          define in XML file appcodeSilkSoftwareModuleNameviewadminhtmlui_componentcategory_form.xml



          <?xml version="1.0" encoding="UTF-8"?>
          <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
          <fieldset name="general">

          <field name="menu_item">
          <argument name="data" xsi:type="array">
          <item name="config" xsi:type="array">
          <item name="class" xsi:type="string">MagentoCatalogUiComponentCategoryFormElementWysiwyg</item>
          <item name="formElement" xsi:type="string">wysiwyg</item>
          <item name="wysiwygConfigData" xsi:type="array">
          <item name="settings" xsi:type="array">
          <item name="theme_advanced_buttons1" xsi:type="string">bold,italic,|,justifyleft,justifycenter,justifyright,|,fontselect,fontsizeselect,|,forecolor,backcolor,|,link,unlink,image,|,bullist,numlist,|,code</item>
          <item name="theme_advanced_buttons2" xsi:type="boolean">false</item>
          <item name="theme_advanced_buttons3" xsi:type="boolean">false</item>
          <item name="theme_advanced_buttons4" xsi:type="boolean">false</item>
          <item name="theme_advanced_statusbar_location" xsi:type="boolean">false</item>
          </item>
          <item name="files_browser_window_url" xsi:type="boolean">false</item>
          <item name="height" xsi:type="string">100px</item>
          <item name="toggle_button" xsi:type="boolean">false</item>
          <item name="add_variables" xsi:type="boolean">false</item>
          <item name="add_widgets" xsi:type="boolean">false</item>
          <item name="add_images" xsi:type="boolean">false</item>
          </item>
          <item name="template" xsi:type="string">ui/form/field</item>
          <item name="source" xsi:type="string">category</item>
          <item name="wysiwyg" xsi:type="boolean">true</item>
          <item name="dataScope" xsi:type="string">menu_item</item>
          <item name="sortOrder" xsi:type="number">110</item>
          <item name="rows" xsi:type="number">8</item>
          <item name="label" xsi:type="string" translate="true">Menu Item</item>
          <item name="notice" xsi:type="string" translate="true"></item>
          <item name="additionalClasses" xsi:type="string"></item>

          </item>
          </argument>
          </field>

          </fieldset>
          </form>





          share|improve this answer































            0














            $eavSetup -> addAttribute(MagentoCatalogModelCategory :: ENTITY, 'menu_content', [
            'type' => 'text',
            'label' => 'Menu Content',
            'input' => 'textarea',
            'required' => false,
            'sort_order' => 110,
            'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
            'is_wysiwyg_enabled' => true,
            'is_html_allowed_on_front' => false,
            'group' => 'General Information',
            "default" => "",
            "class" => "",
            "note" => ""
            ]
            );




            share























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "479"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f232117%2fadd-wysiwyg-attribute-to-category-in-magento-2-2-4%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              After digging into magento attribute table structure I found that Magento has changed wysiwyg_enabled field to is_wysiwyg_enabled from catalog_eav_attribute table.



              So we need to change wysiwyg_enabled to is_wysiwyg_enabled from setup script



              $eavSetup->addAttribute(
              MagentoCatalogModelCategory::ENTITY,
              'menu_content',
              [
              'type' => 'text',
              'label' => 'Menu Content',
              'input' => 'textarea',
              'required' => false,
              'sort_order' => 4,
              'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
              'is_wysiwyg_enabled' => true,
              'is_html_allowed_on_front' => true,
              'group' => 'General Information',
              ]
              );





              share|improve this answer
























              • Is this working for you ? i got only textarea instead of wysiwyg

                – Manish Maheshwari
                Sep 28 '18 at 12:32
















              0














              After digging into magento attribute table structure I found that Magento has changed wysiwyg_enabled field to is_wysiwyg_enabled from catalog_eav_attribute table.



              So we need to change wysiwyg_enabled to is_wysiwyg_enabled from setup script



              $eavSetup->addAttribute(
              MagentoCatalogModelCategory::ENTITY,
              'menu_content',
              [
              'type' => 'text',
              'label' => 'Menu Content',
              'input' => 'textarea',
              'required' => false,
              'sort_order' => 4,
              'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
              'is_wysiwyg_enabled' => true,
              'is_html_allowed_on_front' => true,
              'group' => 'General Information',
              ]
              );





              share|improve this answer
























              • Is this working for you ? i got only textarea instead of wysiwyg

                – Manish Maheshwari
                Sep 28 '18 at 12:32














              0












              0








              0







              After digging into magento attribute table structure I found that Magento has changed wysiwyg_enabled field to is_wysiwyg_enabled from catalog_eav_attribute table.



              So we need to change wysiwyg_enabled to is_wysiwyg_enabled from setup script



              $eavSetup->addAttribute(
              MagentoCatalogModelCategory::ENTITY,
              'menu_content',
              [
              'type' => 'text',
              'label' => 'Menu Content',
              'input' => 'textarea',
              'required' => false,
              'sort_order' => 4,
              'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
              'is_wysiwyg_enabled' => true,
              'is_html_allowed_on_front' => true,
              'group' => 'General Information',
              ]
              );





              share|improve this answer













              After digging into magento attribute table structure I found that Magento has changed wysiwyg_enabled field to is_wysiwyg_enabled from catalog_eav_attribute table.



              So we need to change wysiwyg_enabled to is_wysiwyg_enabled from setup script



              $eavSetup->addAttribute(
              MagentoCatalogModelCategory::ENTITY,
              'menu_content',
              [
              'type' => 'text',
              'label' => 'Menu Content',
              'input' => 'textarea',
              'required' => false,
              'sort_order' => 4,
              'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
              'is_wysiwyg_enabled' => true,
              'is_html_allowed_on_front' => true,
              'group' => 'General Information',
              ]
              );






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jul 3 '18 at 7:38









              Prince PatelPrince Patel

              14k55280




              14k55280













              • Is this working for you ? i got only textarea instead of wysiwyg

                – Manish Maheshwari
                Sep 28 '18 at 12:32



















              • Is this working for you ? i got only textarea instead of wysiwyg

                – Manish Maheshwari
                Sep 28 '18 at 12:32

















              Is this working for you ? i got only textarea instead of wysiwyg

              – Manish Maheshwari
              Sep 28 '18 at 12:32





              Is this working for you ? i got only textarea instead of wysiwyg

              – Manish Maheshwari
              Sep 28 '18 at 12:32













              0














              $eavSetup->addAttribute(
              MagentoCatalogModelProduct::ENTITY,
              'menu_content',
              [
              'type' => 'text',
              'backend' => '',
              'frontend' => '',
              'label' => 'Menu Content',
              'input' => 'textarea',
              'class' => '',
              'source' => '',
              'backend' => 'MagentoEavModelEntityAttributeBackendArrayBackend',
              'global' => MagentoCatalogModelResourceModelEavAttribute::SCOPE_GLOBAL,
              'visible' => true,
              'required' => false,
              'user_defined' => false,
              'default' => 0,
              'searchable' => false,
              'filterable' => true,
              'comparable' => false,
              'visible_on_front' => true,
              'used_in_product_listing' => true,
              'is_wysiwyg_enabled' => TRUE,
              'unique' => false,
              'apply_to' => ''
              ]
              );


              define in XML file appcodeSilkSoftwareModuleNameviewadminhtmlui_componentcategory_form.xml



              <?xml version="1.0" encoding="UTF-8"?>
              <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
              <fieldset name="general">

              <field name="menu_item">
              <argument name="data" xsi:type="array">
              <item name="config" xsi:type="array">
              <item name="class" xsi:type="string">MagentoCatalogUiComponentCategoryFormElementWysiwyg</item>
              <item name="formElement" xsi:type="string">wysiwyg</item>
              <item name="wysiwygConfigData" xsi:type="array">
              <item name="settings" xsi:type="array">
              <item name="theme_advanced_buttons1" xsi:type="string">bold,italic,|,justifyleft,justifycenter,justifyright,|,fontselect,fontsizeselect,|,forecolor,backcolor,|,link,unlink,image,|,bullist,numlist,|,code</item>
              <item name="theme_advanced_buttons2" xsi:type="boolean">false</item>
              <item name="theme_advanced_buttons3" xsi:type="boolean">false</item>
              <item name="theme_advanced_buttons4" xsi:type="boolean">false</item>
              <item name="theme_advanced_statusbar_location" xsi:type="boolean">false</item>
              </item>
              <item name="files_browser_window_url" xsi:type="boolean">false</item>
              <item name="height" xsi:type="string">100px</item>
              <item name="toggle_button" xsi:type="boolean">false</item>
              <item name="add_variables" xsi:type="boolean">false</item>
              <item name="add_widgets" xsi:type="boolean">false</item>
              <item name="add_images" xsi:type="boolean">false</item>
              </item>
              <item name="template" xsi:type="string">ui/form/field</item>
              <item name="source" xsi:type="string">category</item>
              <item name="wysiwyg" xsi:type="boolean">true</item>
              <item name="dataScope" xsi:type="string">menu_item</item>
              <item name="sortOrder" xsi:type="number">110</item>
              <item name="rows" xsi:type="number">8</item>
              <item name="label" xsi:type="string" translate="true">Menu Item</item>
              <item name="notice" xsi:type="string" translate="true"></item>
              <item name="additionalClasses" xsi:type="string"></item>

              </item>
              </argument>
              </field>

              </fieldset>
              </form>





              share|improve this answer




























                0














                $eavSetup->addAttribute(
                MagentoCatalogModelProduct::ENTITY,
                'menu_content',
                [
                'type' => 'text',
                'backend' => '',
                'frontend' => '',
                'label' => 'Menu Content',
                'input' => 'textarea',
                'class' => '',
                'source' => '',
                'backend' => 'MagentoEavModelEntityAttributeBackendArrayBackend',
                'global' => MagentoCatalogModelResourceModelEavAttribute::SCOPE_GLOBAL,
                'visible' => true,
                'required' => false,
                'user_defined' => false,
                'default' => 0,
                'searchable' => false,
                'filterable' => true,
                'comparable' => false,
                'visible_on_front' => true,
                'used_in_product_listing' => true,
                'is_wysiwyg_enabled' => TRUE,
                'unique' => false,
                'apply_to' => ''
                ]
                );


                define in XML file appcodeSilkSoftwareModuleNameviewadminhtmlui_componentcategory_form.xml



                <?xml version="1.0" encoding="UTF-8"?>
                <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
                <fieldset name="general">

                <field name="menu_item">
                <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                <item name="class" xsi:type="string">MagentoCatalogUiComponentCategoryFormElementWysiwyg</item>
                <item name="formElement" xsi:type="string">wysiwyg</item>
                <item name="wysiwygConfigData" xsi:type="array">
                <item name="settings" xsi:type="array">
                <item name="theme_advanced_buttons1" xsi:type="string">bold,italic,|,justifyleft,justifycenter,justifyright,|,fontselect,fontsizeselect,|,forecolor,backcolor,|,link,unlink,image,|,bullist,numlist,|,code</item>
                <item name="theme_advanced_buttons2" xsi:type="boolean">false</item>
                <item name="theme_advanced_buttons3" xsi:type="boolean">false</item>
                <item name="theme_advanced_buttons4" xsi:type="boolean">false</item>
                <item name="theme_advanced_statusbar_location" xsi:type="boolean">false</item>
                </item>
                <item name="files_browser_window_url" xsi:type="boolean">false</item>
                <item name="height" xsi:type="string">100px</item>
                <item name="toggle_button" xsi:type="boolean">false</item>
                <item name="add_variables" xsi:type="boolean">false</item>
                <item name="add_widgets" xsi:type="boolean">false</item>
                <item name="add_images" xsi:type="boolean">false</item>
                </item>
                <item name="template" xsi:type="string">ui/form/field</item>
                <item name="source" xsi:type="string">category</item>
                <item name="wysiwyg" xsi:type="boolean">true</item>
                <item name="dataScope" xsi:type="string">menu_item</item>
                <item name="sortOrder" xsi:type="number">110</item>
                <item name="rows" xsi:type="number">8</item>
                <item name="label" xsi:type="string" translate="true">Menu Item</item>
                <item name="notice" xsi:type="string" translate="true"></item>
                <item name="additionalClasses" xsi:type="string"></item>

                </item>
                </argument>
                </field>

                </fieldset>
                </form>





                share|improve this answer


























                  0












                  0








                  0







                  $eavSetup->addAttribute(
                  MagentoCatalogModelProduct::ENTITY,
                  'menu_content',
                  [
                  'type' => 'text',
                  'backend' => '',
                  'frontend' => '',
                  'label' => 'Menu Content',
                  'input' => 'textarea',
                  'class' => '',
                  'source' => '',
                  'backend' => 'MagentoEavModelEntityAttributeBackendArrayBackend',
                  'global' => MagentoCatalogModelResourceModelEavAttribute::SCOPE_GLOBAL,
                  'visible' => true,
                  'required' => false,
                  'user_defined' => false,
                  'default' => 0,
                  'searchable' => false,
                  'filterable' => true,
                  'comparable' => false,
                  'visible_on_front' => true,
                  'used_in_product_listing' => true,
                  'is_wysiwyg_enabled' => TRUE,
                  'unique' => false,
                  'apply_to' => ''
                  ]
                  );


                  define in XML file appcodeSilkSoftwareModuleNameviewadminhtmlui_componentcategory_form.xml



                  <?xml version="1.0" encoding="UTF-8"?>
                  <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
                  <fieldset name="general">

                  <field name="menu_item">
                  <argument name="data" xsi:type="array">
                  <item name="config" xsi:type="array">
                  <item name="class" xsi:type="string">MagentoCatalogUiComponentCategoryFormElementWysiwyg</item>
                  <item name="formElement" xsi:type="string">wysiwyg</item>
                  <item name="wysiwygConfigData" xsi:type="array">
                  <item name="settings" xsi:type="array">
                  <item name="theme_advanced_buttons1" xsi:type="string">bold,italic,|,justifyleft,justifycenter,justifyright,|,fontselect,fontsizeselect,|,forecolor,backcolor,|,link,unlink,image,|,bullist,numlist,|,code</item>
                  <item name="theme_advanced_buttons2" xsi:type="boolean">false</item>
                  <item name="theme_advanced_buttons3" xsi:type="boolean">false</item>
                  <item name="theme_advanced_buttons4" xsi:type="boolean">false</item>
                  <item name="theme_advanced_statusbar_location" xsi:type="boolean">false</item>
                  </item>
                  <item name="files_browser_window_url" xsi:type="boolean">false</item>
                  <item name="height" xsi:type="string">100px</item>
                  <item name="toggle_button" xsi:type="boolean">false</item>
                  <item name="add_variables" xsi:type="boolean">false</item>
                  <item name="add_widgets" xsi:type="boolean">false</item>
                  <item name="add_images" xsi:type="boolean">false</item>
                  </item>
                  <item name="template" xsi:type="string">ui/form/field</item>
                  <item name="source" xsi:type="string">category</item>
                  <item name="wysiwyg" xsi:type="boolean">true</item>
                  <item name="dataScope" xsi:type="string">menu_item</item>
                  <item name="sortOrder" xsi:type="number">110</item>
                  <item name="rows" xsi:type="number">8</item>
                  <item name="label" xsi:type="string" translate="true">Menu Item</item>
                  <item name="notice" xsi:type="string" translate="true"></item>
                  <item name="additionalClasses" xsi:type="string"></item>

                  </item>
                  </argument>
                  </field>

                  </fieldset>
                  </form>





                  share|improve this answer













                  $eavSetup->addAttribute(
                  MagentoCatalogModelProduct::ENTITY,
                  'menu_content',
                  [
                  'type' => 'text',
                  'backend' => '',
                  'frontend' => '',
                  'label' => 'Menu Content',
                  'input' => 'textarea',
                  'class' => '',
                  'source' => '',
                  'backend' => 'MagentoEavModelEntityAttributeBackendArrayBackend',
                  'global' => MagentoCatalogModelResourceModelEavAttribute::SCOPE_GLOBAL,
                  'visible' => true,
                  'required' => false,
                  'user_defined' => false,
                  'default' => 0,
                  'searchable' => false,
                  'filterable' => true,
                  'comparable' => false,
                  'visible_on_front' => true,
                  'used_in_product_listing' => true,
                  'is_wysiwyg_enabled' => TRUE,
                  'unique' => false,
                  'apply_to' => ''
                  ]
                  );


                  define in XML file appcodeSilkSoftwareModuleNameviewadminhtmlui_componentcategory_form.xml



                  <?xml version="1.0" encoding="UTF-8"?>
                  <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
                  <fieldset name="general">

                  <field name="menu_item">
                  <argument name="data" xsi:type="array">
                  <item name="config" xsi:type="array">
                  <item name="class" xsi:type="string">MagentoCatalogUiComponentCategoryFormElementWysiwyg</item>
                  <item name="formElement" xsi:type="string">wysiwyg</item>
                  <item name="wysiwygConfigData" xsi:type="array">
                  <item name="settings" xsi:type="array">
                  <item name="theme_advanced_buttons1" xsi:type="string">bold,italic,|,justifyleft,justifycenter,justifyright,|,fontselect,fontsizeselect,|,forecolor,backcolor,|,link,unlink,image,|,bullist,numlist,|,code</item>
                  <item name="theme_advanced_buttons2" xsi:type="boolean">false</item>
                  <item name="theme_advanced_buttons3" xsi:type="boolean">false</item>
                  <item name="theme_advanced_buttons4" xsi:type="boolean">false</item>
                  <item name="theme_advanced_statusbar_location" xsi:type="boolean">false</item>
                  </item>
                  <item name="files_browser_window_url" xsi:type="boolean">false</item>
                  <item name="height" xsi:type="string">100px</item>
                  <item name="toggle_button" xsi:type="boolean">false</item>
                  <item name="add_variables" xsi:type="boolean">false</item>
                  <item name="add_widgets" xsi:type="boolean">false</item>
                  <item name="add_images" xsi:type="boolean">false</item>
                  </item>
                  <item name="template" xsi:type="string">ui/form/field</item>
                  <item name="source" xsi:type="string">category</item>
                  <item name="wysiwyg" xsi:type="boolean">true</item>
                  <item name="dataScope" xsi:type="string">menu_item</item>
                  <item name="sortOrder" xsi:type="number">110</item>
                  <item name="rows" xsi:type="number">8</item>
                  <item name="label" xsi:type="string" translate="true">Menu Item</item>
                  <item name="notice" xsi:type="string" translate="true"></item>
                  <item name="additionalClasses" xsi:type="string"></item>

                  </item>
                  </argument>
                  </field>

                  </fieldset>
                  </form>






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 4 at 9:57









                  Ketan BoradaKetan Borada

                  311738




                  311738























                      0














                      $eavSetup -> addAttribute(MagentoCatalogModelCategory :: ENTITY, 'menu_content', [
                      'type' => 'text',
                      'label' => 'Menu Content',
                      'input' => 'textarea',
                      'required' => false,
                      'sort_order' => 110,
                      'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
                      'is_wysiwyg_enabled' => true,
                      'is_html_allowed_on_front' => false,
                      'group' => 'General Information',
                      "default" => "",
                      "class" => "",
                      "note" => ""
                      ]
                      );




                      share




























                        0














                        $eavSetup -> addAttribute(MagentoCatalogModelCategory :: ENTITY, 'menu_content', [
                        'type' => 'text',
                        'label' => 'Menu Content',
                        'input' => 'textarea',
                        'required' => false,
                        'sort_order' => 110,
                        'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
                        'is_wysiwyg_enabled' => true,
                        'is_html_allowed_on_front' => false,
                        'group' => 'General Information',
                        "default" => "",
                        "class" => "",
                        "note" => ""
                        ]
                        );




                        share


























                          0












                          0








                          0







                          $eavSetup -> addAttribute(MagentoCatalogModelCategory :: ENTITY, 'menu_content', [
                          'type' => 'text',
                          'label' => 'Menu Content',
                          'input' => 'textarea',
                          'required' => false,
                          'sort_order' => 110,
                          'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
                          'is_wysiwyg_enabled' => true,
                          'is_html_allowed_on_front' => false,
                          'group' => 'General Information',
                          "default" => "",
                          "class" => "",
                          "note" => ""
                          ]
                          );




                          share













                          $eavSetup -> addAttribute(MagentoCatalogModelCategory :: ENTITY, 'menu_content', [
                          'type' => 'text',
                          'label' => 'Menu Content',
                          'input' => 'textarea',
                          'required' => false,
                          'sort_order' => 110,
                          'global' => MagentoEavModelEntityAttributeScopedAttributeInterface::SCOPE_STORE,
                          'is_wysiwyg_enabled' => true,
                          'is_html_allowed_on_front' => false,
                          'group' => 'General Information',
                          "default" => "",
                          "class" => "",
                          "note" => ""
                          ]
                          );





                          share











                          share


                          share










                          answered 6 mins ago









                          Rakesh DongaRakesh Donga

                          1,537316




                          1,537316






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Magento Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f232117%2fadd-wysiwyg-attribute-to-category-in-magento-2-2-4%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                              How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                              變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...