In Umbraco 8, I would add styles to the RTE via tinyMceConfig.config settings because it would allow a more organized dropdown than simply adding a stylesheet, and I could adjust whether the styles would apply to spans, paragraphs, etc.
I tried following this resource for changing RTE settings, but it doesn't appear to have any effect on my RTE and the dropdown remains unchanged. Is there something I'm missing, or something that the instruction left out Does some cache somewhere need refreshing or do I need to do something to the site itself for the changes to appear?
It should work fine OOTB, you can check out my blog post on an easier way to do any updates without having to wory about escaping your settings for the style_formats section
Adding styles to RTE Style Dropdown in Umbraco 11
In Umbraco 8, I would add styles to the RTE via tinyMceConfig.config settings because it would allow a more organized dropdown than simply adding a stylesheet, and I could adjust whether the styles would apply to spans, paragraphs, etc.
I tried following this resource for changing RTE settings, but it doesn't appear to have any effect on my RTE and the dropdown remains unchanged. Is there something I'm missing, or something that the instruction left out Does some cache somewhere need refreshing or do I need to do something to the site itself for the changes to appear?
It should work fine OOTB, you can check out my blog post on an easier way to do any updates without having to wory about escaping your settings for the style_formats section
https://umbraco.themediawizards.co.uk/the-grimoire/formatting-for-richtexteditor-config/
I think that would be helpful as a second step after getting the styles to show in the dropdown, but currently I can't even get that to happen.
I'm copying and pasting the style_formats as they appear in the linked resource but there is never any change to my RTE.
The only thing I can suggest is that maybe something in your style_formats string is not correct so it is not parsing correctly.
What version of Umbraco are you using, I will fire up the same version to check, but not had any problems in 9/10 or 11 so far.
Hey Huw
I can't get even the most simple of "style_formats" to work in Umbraco 11. Can you offer any advice?
doesn't look like your declaration is quite right, it should be something like below
is working on a reply...