Przemysław Suszek Posted April 19, 2020 Share Posted April 19, 2020 Good morning, I want to know how to add new textarea with tinymce in my custom module in Prestashop 1.7 ? Is anyone of you could help me with this issue? Kind regards Link to comment Share on other sites More sharing options...
JBW Posted April 20, 2020 Share Posted April 20, 2020 Take any module that has a textarea and see how they do it (e.g. ps_customtext): $fields_form = array( 'tinymce' => true, 'legend' => array( 'title' => $this->trans('CMS block', array(), 'Modules.Customtext.Admin'), ), 'input' => array( 'id_info' => array( 'type' => 'hidden', 'name' => 'id_info' ), 'content' => array( 'type' => 'textarea', 'label' => $this->trans('Text block', array(), 'Modules.Customtext.Admin'), 'lang' => true, 'name' => 'text', 'cols' => 40, 'rows' => 10, 'class' => 'rte', 'autoload_rte' => true, ), ), 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now