No Code Attached Yet
avatar icc365
icc365
3 Jan 2026

I'm using Joomla 6.0.1 and made a custom template for myself. I also included an editor.css file so that specific styles would be imported into the default TinyMCE editor. They don't show, and the editor.css stylesheet is not loading. I also tried the Cassiopeia template, and it doesn't load this template's editor.css or the editor.min.css.

Started with going to System > Plugins > TinyMCE
Opening up and going to the Set 0 tab (containing Administrator, Super Users, and Editor), scroll down to the setting "Template CSS Classes" and enabling it (and/or disabling it). Then the next setting "Custom CSS Classes", I put in the path to my template editor.css file: media/templates/site/gejay/css/editor.css

Save & Close, then open an article, and there are no custom styles added. Checking the source within the iframe, there is also no editor.css stylesheet file loading.

For the test with Cassiopeia, I added body {background-color: red !important } and nothing happened; the editor.css for this template didn't get loaded either.

avatar icc365 icc365 - open - 3 Jan 2026
avatar icc365 icc365 - change - 3 Jan 2026
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jan 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Jan 2026
avatar icc365 icc365 - change - 3 Jan 2026
The description was changed
avatar icc365 icc365 - edited - 3 Jan 2026
avatar coolcat-creations
coolcat-creations - comment - 3 Jan 2026

Maybe its related to this?
#46543

avatar ChristineWk
ChristineWk - comment - 3 Jan 2026

See #46583
#46543
OT (btw. I always make formatting changes in the user.css)


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46628.
Ah, I was too late.

avatar icc365
icc365 - comment - 3 Jan 2026

I also tried the path with a leading / as this was mentioned to me elsewhere. However, I also tried using the user.css option, but it was unsuccessful for this purpose as well.

Seems like this is similar to what I just found in #46504

avatar chmst
chmst - comment - 3 Jan 2026

Did you test #46543 as recommended above?

avatar ChristineWk
ChristineWk - comment - 3 Jan 2026

I also tried the path with a leading / as this was mentioned to me elsewhere. However, I also tried using the user.css option, but it was unsuccessful for this purpose as well.

The user.css file works if it's loaded last.

Seems like this is similar to what I just found in #46504

Yes, but the issue is closed and the follow-up PR is #46543, as mentioned above, and is planned for Joomla 6.0.2.

avatar chmst
chmst - comment - 4 Jan 2026

@icc365 could you please test #46543 if this is a sloution?

avatar icc365
icc365 - comment - 4 Jan 2026

Hi @chmst

...and for everyone. I decided to do a side-by-side test with two installations of Joomla on my local XAMPP environment. The first is using Joomla 5.3.2, and the other is using Joomla 6.0.1. I created an article called Editor Test (an exact copy for both, where the content is lorem ipsum dummy text).

On Joomla 5.3 (This Worked):

  • My template enabled
  • Template CSS Classes TinyMCE setting enabled
  • Empty Custom CSS Classes field in TinyMCE
  • All custom template classes are showing in the dropdown in the editor
  • Shows a grey readmore line

On Joomla 5.3 (This Did Not Work):

  • My template enabled

  • Template CSS Classes TinyMCE setting enabled

  • Custom CSS Classes field filled with: media/templates/site/aj/css/editor.css, and tried media/templates/site/aj/css/

  • This didn't load the classes

  • The readmore line is a red dashed line.

  • The second test with my template enabled

  • Template CSS Classes in TinyMCE setting disabled

  • Custom CSS Classes field filled with: media/templates/site/aj/css/editor.css and also tried media/templates/site/aj/css/

  • Classes did not load in the editor, and the readmore line is dashed red

  • The third test with my template enabled

  • Template CSS Classes in TinyMCE setting disabled

  • The Custom CSS Classes field is empty

  • Classes did not load, and the readmore line is a solid grey line

On Joomla 6.0.1 and testing with my template and the Cassiopeia template:

  • My template enabled

  • Template CSS Classes TinyMCE setting enabled

  • Custom CSS Classes field filled with: media/templates/site/gejay/css/editor.css, and tried media/templates/site/gejay/css/

  • This didn't load the classes

  • The readmore line is a solid grey line.

  • The second test with my template enabled

  • Template CSS Classes in TinyMCE setting disabled

  • Custom CSS Classes field filled with: media/templates/site/aj/css/editor.css and also tried media/templates/site/aj/css/

  • Classes did not load in the editor, and the readmore line is a solid grey line.

  • The third test with my template enabled

  • Template CSS Classes in TinyMCE setting disabled

  • The Custom CSS Classes field is empty

  • Classes did not load, and the readmore line is a solid grey line

  • The fourth test with my template enabled

  • Template CSS Classes in TinyMCE setting enabled

  • The Custom CSS Classes field is empty

  • Classes did not load, and the readmore line is a solid grey line

*Incidentally, the dark mode in my 6.0.1 doesn't work.

avatar coolcat-creations
coolcat-creations - comment - 4 Jan 2026

@icc365 Your comment did not mention if you tested #46543

avatar icc365
icc365 - comment - 4 Jan 2026

@coolcat-creations I tried it yes, but didn't work.

As a side note, that dark mode is ugly, lol :)

avatar chmst
chmst - comment - 4 Jan 2026

As a side note, that dark mode is ugly, lol :)

No need to use it

avatar coolcat-creations
coolcat-creations - comment - 4 Jan 2026

@coolcat-creations I tried it yes, but didn't work.

As a side note, that dark mode is ugly, lol :)

Thank you for valuing my and others work on the dark mode with such reflected and constructive feedback.

avatar icc365
icc365 - comment - 4 Jan 2026

@coolcat-creations I tried it yes, but didn't work.
As a side note, that dark mode is ugly, lol :)

Thank you for valuing my and others work on the dark mode with such reflected and constructive feedback.

It was a nice attempt, but in the eyes of a designer, and if I had more time available, I would love to come up with something that has a few style adjustments :) Perhaps later this Spring, I can set some time aside. Designing a CMS dark theme is quite difficult, actually. I tend to move towards a subtle transition of contrast and a bit lighter on the darker colours.

But first, the editor issue is what this is about :)

avatar brianteeman
brianteeman - comment - 4 Jan 2026

Where do I send you your refund

avatar icc365
icc365 - comment - 5 Jan 2026

Well, this is weird. Today, I log into my local XAMPP for my development site using Joomla 6.0.1. I see the editor with a red background, and classes are loaded. It's red because the other day, I added body {background: red} (for testing) and forgot I left that in there. But today, I noticed the editor.css is loading. I never did any updates or anything other than log off yesterday when I was doing all this testing, and nothing worked on the 6.0.1 version; today it is.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46628.

avatar chmst
chmst - comment - 6 Jan 2026

Thank you for the info. The cache?
Could you then close your issue?

avatar Fedik Fedik - change - 6 Jan 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-01-06 10:02:31
Closed_By Fedik
avatar Fedik Fedik - close - 6 Jan 2026
avatar Fedik
Fedik - comment - 6 Jan 2026

It is the same as #46504 and fixed in #46543

avatar icc365
icc365 - comment - 6 Jan 2026

@chmst I'm not exactly sure, but that crossed my mind; it might have been something about cache (from somewhere).

Add a Comment

Login with GitHub to post a comment