We are going through the process of upgrading from Umbraco 7/8 to 11.
I need to add custom buttons to the RTE. The way we did it in V8 does not work in V11. Can anyone help please.
HI,
the configuration of the commands works perfectly, but the default color picker keeps appearing to me. The list of colors of the textcolor_map not work. I'm using umbraco 11, latest version.
Yes, color map doesn't seem to work in 11, I'll have a play around see if I can figure out why (seems the font size or font select doesn't work in 11 either)
I can't get it working.
I've added this code to appsettings.json, I can see all three new checkboxes in Richtext editor data type, but there is only Change color dropdown visible in editor.
V11 Custom buttons in RTE
We are going through the process of upgrading from Umbraco 7/8 to 11. I need to add custom buttons to the RTE. The way we did it in V8 does not work in V11. Can anyone help please.
Thanks
Does this help?
HI, the configuration of the commands works perfectly, but the default color picker keeps appearing to me. The list of colors of the textcolor_map not work. I'm using umbraco 11, latest version.
Yes, color map doesn't seem to work in 11, I'll have a play around see if I can figure out why (seems the font size or font select doesn't work in 11 either)
Hi Giampaolo,
This looks like either something has changed in 11 or it is a bug, it works perfectly in 10
Hi, after many trials I figured it out. Instead of "textcolormap" it should be specified "colormap":
"CustomConfig": { "color_map": "[\"#cc0000\", \"Red\",\"#00cc00\", \"Green\"]" }
This works for me
Mmm that must have changed in U11 according to tinymce it should be textcolor_map which works fine in U10
Yes thanks.
Hi,
I can't get it working. I've added this code to appsettings.json, I can see all three new checkboxes in Richtext editor data type, but there is only Change color dropdown visible in editor.
What am I missing???
Kind regards
Tomasz
mmm, not sure TBH, I get all three displayed in mine
Do I need to specify font sizes? Where this "12pt" comes from in your set-up?
Tomasz
That's a very good question, I'll check (I didn't add anything that I know of)
Hi Tomasz, I believe those sizes com from TinyMCE, it isn't anything I have done so must be default from TinyMCE
Yeah... The newest Umbraco uses TinyMCE 6 and there are some "breaking changes":
Look here for more: https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/
It's working now!
Tomasz
is working on a reply...