Strange. Im using the exact same code as you´ve posted (the command, the two configs and the plugin) in this thread, with no modification, and it works for me. See image:
Remember that the textcolor option does´nt automaticly show up in your RTE, you have to configure the datatype in the Developer section, and allow that option for the RTE. Have you done that?
Also, bump ypur clientdependancy version number, just to be sure.
I have added a PR that was merged in v. 7.4.2.. which change the icons in richtext editor config to use font icons that are used in the tinymce toolbar. Furthermore I also added a name element in config, which set a prettier name in the settings than alias but fallback for alias so it doesn't break anything on upgrade if you forget to merge or not include it in new commands.
http://issues.umbraco.org/issueMobile/U4-7916
So you should be able to name it Fore Color instead of mceforecolor..
Ah yeah I see. I only focused on the fact to get the color picker to work, didn't notice the custom colors. Yeah that it strange, I saw a couple of tutorials and they all did like you've done. Maybe they changed it in the later versions?. Can help you with that I'm sorry but maybe someone else knows this one.
I was running into the same issue. Nothing seemed to work even after following docs line for line I was unable to get the buttons to show up after checking them on the Date types page. My issue was the grid the RTE was in "Grid Default" has its own subset of RTE permissions that will need to be checked as well.
TinyMCE custom colors
Hi all!
Im struggling with the TinyMCE editor. I have succeded in adding textcolor-option in the editor by adding:
I have found that I should add:
in the customConfig section of tinyMceConfig wich I have done. Still, it doesn't work.
I have rebuilt and "touched" the web.config etc, nothing works.
Hi Paul.
Try adding this to your plugins secttion in tinyMce.config:
Good luck!
My plugins-section looks like this:
So it looks like I already have that setting.
Strange. Im using the exact same code as you´ve posted (the command, the two configs and the plugin) in this thread, with no modification, and it works for me. See image:
Remember that the textcolor option does´nt automaticly show up in your RTE, you have to configure the datatype in the Developer section, and allow that option for the RTE. Have you done that?
Also, bump ypur clientdependancy version number, just to be sure.
Good luck!!
Hi Dennis
I have added a PR that was merged in v. 7.4.2.. which change the icons in richtext editor config to use font icons that are used in the tinymce toolbar. Furthermore I also added a name element in config, which set a prettier name in the settings than alias but fallback for alias so it doesn't break anything on upgrade if you forget to merge or not include it in new commands. http://issues.umbraco.org/issueMobile/U4-7916
So you should be able to name it Fore Color instead of mceforecolor..
/Bjarne
That's is awesome Bjarne, thank you!! Really good to know for the future, it looked quite annoying with mceforecolor.
Did it work out for you Paul?
It works when it comes to getting the colorpicker in the editor. But I fail to add my own custom color to the colorpicker..
Ah yeah I see. I only focused on the fact to get the color picker to work, didn't notice the custom colors. Yeah that it strange, I saw a couple of tutorials and they all did like you've done. Maybe they changed it in the later versions?. Can help you with that I'm sorry but maybe someone else knows this one.
Good luck to you hope it works out for you!!
Yeah, all guides I have found does it like I do, but still no success..
When I found a solution I will post it here for future reference.
Thanks for your time! :)
Hey Paul,
I was running into the same issue. Nothing seemed to work even after following docs line for line I was unable to get the buttons to show up after checking them on the Date types page. My issue was the grid the RTE was in "Grid Default" has its own subset of RTE permissions that will need to be checked as well.
TIL: Check the grids RTE permissions
Hope this helps,
Reece
Sounds perfect Paul! Interested to hear more about this since it sounds like a nice configuration.
All the best!!
is working on a reply...