Jump to content

Custom Field with TinyMce


Recommended Posts

Solved :


In AdminCmsController.php


In the Array, add : 

'class' => 'rte',
'autoload_rte' => true,

Like :
'type' => 'textarea',
'label' => $this->l('Field Name'),
'name' => 'field_name',
'required' => false,
'lang' => true,
'rows' => 5,
'cols' => 40,
'class' => 'rte',
'autoload_rte' => true,

'hint' => $this->l('Invalid characters:').' <>;=#{}'
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...