I'm developing a small Joomla plugin, but I can't figure out how to add a field that uses the normal Joomla article editor, and not only a text field. I have a field like this:

<field name="menu_one" filter="raw" type="textarea" default="" label="Field labbel" cols="100" rows="20" />

I would like to display a WYSIWYG editor like the mod_custom module does. How can I achieve that?


The mod-custom module seems to be using the code <customContent /> to add the editor. It's located right before the <files> declaration in the XML file, not sure if it can be used elsewhere.

| improve this answer | |

I actually found another option: The editor field type.

   label ="Test Field" 

Using this field in my XML manifest, I'm able to add as many editors as needed.

| improve this answer | |
  • This should be the accepted answer. – Ejaz Jan 20 '16 at 11:45

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.