I was looking into the Editor Form field and I came upon this page:


Which shows this:

<field name="css" type="editor" filter="raw" editor="codemirror|none" syntax="css"/>
<field name="js" type="editor" filter="raw" editor="codemirror|none" syntax="js"/>

Notice the: syntax="css" and syntax="js"

I was not aware that this feature is present in Joomla and the documentation does not show that it is. So I obviously tested it in a test module but can't seem to see a difference. But I keep wondering.

Anyone knows if this is present or not?


Yes, but support for this feature depends on specific editor. It's used mainly by code editors like CodeMirror, not by WYSIWYG editors like TinyMCE.

| improve this answer | |

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.