ClickCease

Fill the form & Get Installation Support





    If you are trying to print WYSIWYG editor content into the reading format in the code condition when content is added from the WYSIWYG editor from the admin panel, and content displays something weird, then you can solve the issue by following below steps.

    Step 1: Create Registration

    Create registration.php file in the app/code/Magemonkeys/Wysiwygdata folder with the following code.

     

    Step 2: Create a module

    Create a module.xml file in the app/code/Magemonkeys/Wysiwygdata/etc folder with the following code.

     

    Step 3: Create a Helper

    Create a Data.php file in the app/code/Magemonkeys/Wysiwygdata/Helper with the following code.

    Add a dependency Zend_Filter_Interface to your block

     

    Now when you need to retrive data, you will just need to load helper and use getWysiwygContent() function by passing content

    For Example,

    Load helper “Magemonkeys\Wysiwygdata\Helper\Data” using $_helper object

    after loading helper you can access

    $_helper->getWysiwygContent($content);

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Hire R. Patel

      Get a Free Quote





        Close

        mage Monkeys

        Let’s initiate a discussion!!

        Book a call

        Let our Magento expert connect to discuss your requirement.


          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.