Rich text editor config changes in appsettings don't work
Hi folks, I'm struggling to configure the TinyMCE RTE in the Umbraco appsettings.json file - the documentation is poor and often just references the TinyMCE documentation (which expects RTEs to be instantiated using JavaScript), and the config changes I was able to eventually find don't seem to make any difference when I run the app.
A few examples I've tried by adding under the Umbraco:CMS:RichTextEditor node:
"ValidElements": "-blockquote[dir|style|class]"
No block quote option is available in the RTE config.
Tables still have default styling and don't have the table class applied.
"Plugins": [ "advcode" ]
No code formatting options are available in the RTE config, additionally the "Plugins" node is described in the documentation as expecting an array of strings, but the appsettings schema dictates that this should in fact be a string - and neither options seem to work when trying to add "advcode" (advanced code) plugin.
I've also tried adding to the development version as well just in case there was something weird happening there since I'm testing this locally first.
Someone else posted a while ago regarding the table config, and said that it just eventually worked so might have been a caching problem, but other settings changes I make are applied immediately.
Yes, thank you! Why the hell couldn't I find this syntax anywhere?!
The table class still doesn't seem to work unfortunately, any ideas what's wrong with that bit of config? I tried a few variations of array/object strings but neither seemed to work.
Rich text editor config changes in appsettings don't work
Hi folks, I'm struggling to configure the TinyMCE RTE in the Umbraco appsettings.json file - the documentation is poor and often just references the TinyMCE documentation (which expects RTEs to be instantiated using JavaScript), and the config changes I was able to eventually find don't seem to make any difference when I run the app.
A few examples I've tried by adding under the Umbraco:CMS:RichTextEditor node:
No block quote option is available in the RTE config.
Tables still have default styling and don't have the
table
class applied.No code formatting options are available in the RTE config, additionally the "Plugins" node is described in the documentation as expecting an array of strings, but the appsettings schema dictates that this should in fact be a string - and neither options seem to work when trying to add "advcode" (advanced code) plugin.
I've also tried adding to the development version as well just in case there was something weird happening there since I'm testing this locally first.
Someone else posted a while ago regarding the table config, and said that it just eventually worked so might have been a caching problem, but other settings changes I make are applied immediately.
Any ideas?
Does this help?
https://our.umbraco.com/forum/using-umbraco-and-getting-started/111946-v11-custom-buttons-in-rte#comment-345902
Yes, thank you! Why the hell couldn't I find this syntax anywhere?!
The table class still doesn't seem to work unfortunately, any ideas what's wrong with that bit of config? I tried a few variations of array/object strings but neither seemed to work.
did you add "table" to the plugins array?
not sure about the custom_config bit, I will have a play on mine..
Your custom config worked OK for me,
This is the table it added
It worked, I realised that it only seems to apply to newly-created tables.
Thanks again!
is working on a reply...