0

I am using Testimonial extension which has textarea field in admin form.

When I am adding content with html tag, html tags are showing on frontend.

I have tried to change textarea to editor from block file but still it is not working.

Content field code in block file is:

$generalFieldset->addField(
            'testimonial_content',
            'editor',
            [
                'label'    => __('Testimonial Content'),
                'title'    => __('Testimonial Content'),
                'class'    => 'required-entry',
                'required' => true,
                'name'     => 'testimonial_content',
                'value'    => $this->testimonial,
                'config'    => $this->_wysiwygConfig->getConfig(),
                'wysiwyg'   => true,
            ]
        );

What is the issue? can anyone suggest?

  • Can you share the screen-sort, what you are added from admin and how it show on frontend? And also share the code which you done for display value? – Dhiren Vasoya Sep 6 at 14:24
  • @DhirenVasoya, Please check screenshots: Frontend: nimb.ws/CJ3LD9 , Admin: nimb.ws/dhvYtH – Vinod Kumar Clix Sep 9 at 4:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.