Hello,
I have a Joomla website on Joomla 3.9.5 with rt_plethora template from RocketTheme
Recently I have started facing this issue. My custom CSS tags are automatically removed from the article content.
Steps to reproduce are as follows:
1) New Article
2) Type some text - for example - My Test Header
3) Toggle Editor to switch to HTML code view
4) add custom CSS tag - <myh1>My Test Header</myh1>
5) Toggle Editor to switch to Text Editor view
6) Toggle Editor back to HTML code view & BINGO - the custom CSS tags have disappeared
P.S.: If I save the article while still in HTML code editor view - then the custom CSS tags are retained.
More steps to reproduce
1) Open Existing article which has custom CSS tags
2) Toggle Editor to switch to HTML code view
3) Bingo - the custom CSS tags have disappeared
4) Close article without saving
5) Open article (Article now opens directly in HTML code view)
6) And BINGO - the custom HTML tags are present.
P.S.: If I save the article while still in HTML code editor view - then the custom CSS tags are retained.
Note that I have already done the following:
A) Joomla Global Configuration - Text Filters - Set to No Filters for Super User and Administrator
B) JCE Global Configuration
- Editor Styles set to "Custom CSS"
- Custom CSS entries include the following
templates/$template/less/template.less
templates/$template/less/template-custom.less
C) JCE Editor Profiles - Default Profile -Editor Paramters - Advanced - Allow JS, CSS & PHP all set to Yes.
Please help. This is very cumbersome to lose the custom CSS tags in Text editor mode.
Best Wishes,
- Anil
I have a Joomla website on Joomla 3.9.5 with rt_plethora template from RocketTheme
Recently I have started facing this issue. My custom CSS tags are automatically removed from the article content.
Steps to reproduce are as follows:
1) New Article
2) Type some text - for example - My Test Header
3) Toggle Editor to switch to HTML code view
4) add custom CSS tag - <myh1>My Test Header</myh1>
5) Toggle Editor to switch to Text Editor view
6) Toggle Editor back to HTML code view & BINGO - the custom CSS tags have disappeared
P.S.: If I save the article while still in HTML code editor view - then the custom CSS tags are retained.
More steps to reproduce
1) Open Existing article which has custom CSS tags
2) Toggle Editor to switch to HTML code view
3) Bingo - the custom CSS tags have disappeared
4) Close article without saving
5) Open article (Article now opens directly in HTML code view)
6) And BINGO - the custom HTML tags are present.
P.S.: If I save the article while still in HTML code editor view - then the custom CSS tags are retained.
Note that I have already done the following:
A) Joomla Global Configuration - Text Filters - Set to No Filters for Super User and Administrator
B) JCE Global Configuration
- Editor Styles set to "Custom CSS"
- Custom CSS entries include the following
templates/$template/less/template.less
templates/$template/less/template-custom.less
C) JCE Editor Profiles - Default Profile -Editor Paramters - Advanced - Allow JS, CSS & PHP all set to Yes.
Please help. This is very cumbersome to lose the custom CSS tags in Text editor mode.
Best Wishes,
- Anil