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?

2 Answers 2


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.


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.

  • This should be the accepted answer.
    – Ejaz
    Commented Jan 20, 2016 at 11:45
  • joomla.stackexchange.com/questions/16296/… explains the difference between <customContent /> and the editor field type - added because Joomla Docs doesn't explain it (at least I can't find it there) Commented Mar 30, 2021 at 10:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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