Question

On my Joomla 3.3.0 site, I'm trying to write custom css rules in my article editor (JCE 2.3.4.4). I have disabled the 'html filtering' and now this is possible.

So now I get the desired output when I write something like:

<p>test</p>
<style>#t123{color:red}</style>
<div id="t123">red font</div>

However when I try to edit the article again, the style tag is missing. I can only see:

<p>test</p>
<div id="t123">red font</div>

How can I configure the editor to also show the style tag when editing?

Was it helpful?

Solution 2

The answer to my question is to enable the Allow CSS option in Components > JCE Editor > Editor Profiles > Editor Parameters > Advanced

Thanks to @Apurv for giving me a hint on where to look for

OTHER TIPS

There are two places where you need to disable filtering. One is the Global Configuration -> Text Filtering and another is JCE Editor Profiles -> Plug-in Parameters -> Media Support.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top