Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I added the setting to color the text to the tinymce. The default colors are taken from the config:
<config key="textcolor_map"> [ "f2e618", "Yellow", "5e0dac", "Violet", "ffffff", "White", "000000", "Black" ] </config>
On the site it's possible to configure colors as elements inside a container.
Is there a way to pass the configured color values to the config file, or have the tinymce read the settings from another file?
Thanks!
Did you get any solution?
Hi Gregory,
I created a content app that updates the config. The associated controller updates the tinymce config and then the clientdependency at the same time to make the changes visibles on the backend.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
TinyMCE: dinamically add text color to tinyMceConfig
Hi, I added the setting to color the text to the tinymce. The default colors are taken from the config:
On the site it's possible to configure colors as elements inside a container.
Is there a way to pass the configured color values to the config file, or have the tinymce read the settings from another file?
Thanks!
Did you get any solution?
Hi Gregory,
I created a content app that updates the config. The associated controller updates the tinymce config and then the clientdependency at the same time to make the changes visibles on the backend.
is working on a reply...