Wow so this is a new one for me! I've always been able, pretty sure even in Umbraco 9 to use "style_formats" in combination with embedded stylesheets in the RTE. As soon as I turn on my stylesheet the additional formats stop working (see s/s below)
A quick tip: always throw your configuration into a JSON validator if something doesn't work. This way you can at least fix any formatting errors if they exist. Your provided example has JSON formatting errors.
I found a work around, I had 3 styles set in the backoffice stylesheet that I just added to "style_formats" entries and removed them from the stylesheet.
So from what I can tell you can no longer use together umb_name and style_formats
CustomConfig Umbraco 11
Has anyone had any luck getting CustomConfig to work with TinyMCE 6/Umbraco 11?
I'm trying to add some custom style menus using "style_formats" but they just don't work.
yes, it works fine, which bit isn't working for you?
I can see that your style_formats is not correct. it should start and end with square brackets [ ...... ]
Wow so this is a new one for me! I've always been able, pretty sure even in Umbraco 9 to use "style_formats" in combination with embedded stylesheets in the RTE. As soon as I turn on my stylesheet the additional formats stop working (see s/s below)
With style_formats (turned off stylesheet)
A quick tip: always throw your configuration into a JSON validator if something doesn't work. This way you can at least fix any formatting errors if they exist. Your provided example has JSON formatting errors.
I found a work around, I had 3 styles set in the backoffice stylesheet that I just added to "style_formats" entries and removed them from the stylesheet.
So from what I can tell you can no longer use together umb_name and style_formats
umb_name will now override
is working on a reply...