Sometimes Umbraco is caching pretty hard - Have you tried deleting the /app_data/TEMP folders and increasing the version number in the /config/ClientDependency.config file?
If nothing helps then it might need to be added as a bug on the issue tracker at http://www.issues.umbraco.org/issues if it has not been done so already.
Hi Jan,
I did all that.. clear temp, update CLientdependency number, IISreset.. but nothing. Here is my tinymce.config..
I think everything i need is in there.. Must be a issue then?
Ok, can you just list the custom stuff you have added to the configuration above? The issue might be that you also need to add some configuration to the
Otherwise I think it's an issue that should be reported.
I think that you should create an issue for this - All the steps you have taken seems to be right to me and it should work. And as you mention it seems more people have had issues with this. So something is probably wrong.
If I remember I'll try giving it a spin during the weekend. But I'll probably run into the same issue as you anyway :)
Looks like this is the age old issue of Tidy being too aggressive.
The short of it is, you can customize the RTE however you please - jump through all the hoops from either the umbraco specific or even the tinyMCE documentation, however, TidyHTML ( /bin/TidyNet.dll ) is still going to step on it.
I've answered a few Stack (SO, whatevs;) posts about this over the years ;)
Has there been a solution for this problem yet? I have what seems to be a similar problem. I'm trying to add new special characters to the \umbraco_client\Tinymce3\Themes\Umbraco\charmap.js file, but it's not showing in the CMS. I've found out that I can make changes to the file plugin.min.js in umbraco\lib\tinymce\plugins\charmap and I can see the changes in the CMS, but I can't add new characters there without getting a javascript error. I'm working with Umbraco version 7.2.8.
i might have stumbled upon the answer.
We faced a similar issue with the onclick attribute for span elements.
With changes made to the tinyMceConfig.config the editor showed all the attributes, but removed them while saving/publishing.
In umbraco/Js/umbraco.controller.js the following line
var extendedValidElements = "@[id|class|style],-div[id|dir|class|align|style],ins[datetime|cite],-ul[class|style],-li[class|style],span[id|class|style]";
seemed to remove everything but the defined attributes.
As I changed it to
var extendedValidElements = "@[id|class|style],-div[id|dir|class|align|style],ins[datetime|cite],-ul[class|style],-li[class|style],span[id|class|style|title|onclick]";
the attributes are now still there after saving/publishing.
Hopefully this solves your problem too.
RTE not updating to show new HTML tags in Umbraco 7
Hi everyone,
I am setting up an Umbraco 7 site, with a few RTE capturing content.
My issue is, I wish to have the tag abbr available within the RTE. I have added the command within the tinyMceConfig file, added the CDATA change and added the commands on the Developer tag. Basically, followed the instructions here : http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-(tinymce)/how-to-add-extra-html-functionality-to-tinymce
But, the checkboxes still don't show within the RTE.
Can anyone hazard a guess why? Thanks a lot.
Hi CJ
Are you still struggling with this issue?
Did you try to recycle the app pool when you did the above things? Sometimes that's neccesary for the changes to be visible.
Cheers, Jan
Has anyone found a solution to this? I need to allow a different set of tags in the RTE but all the old tricks don't appear to work. Any ideas?
Cheers
i'm stuggling with the same problem in Umbraco 7. Can someone shed some light on how to get this working in Umbraco 7..
Everything is set, but not visible in the RTE in a content node.
IIS Reset, app pool recycles, nothing helps..
Hi Vishal
What exact version of Umbraco 7 are you using?
/Jan
Hi Jan,
I'm using 7.1.8.. the latest..
I followed the guide, but no juice.. I'm sure you would be able to reproduce this easily, as i have reproduced it on several umbraco 7 instances..
Hi Vishal
What does your tinymceconfig.config look like?
Sometimes Umbraco is caching pretty hard - Have you tried deleting the /app_data/TEMP folders and increasing the version number in the /config/ClientDependency.config file?
If nothing helps then it might need to be added as a bug on the issue tracker at http://www.issues.umbraco.org/issues if it has not been done so already.
/Jan
Hi Jan, I did all that.. clear temp, update CLientdependency number, IISreset.. but nothing. Here is my tinymce.config.. I think everything i need is in there.. Must be a issue then?
Hi Vishal
Ok, can you just list the custom stuff you have added to the configuration above? The issue might be that you also need to add some configuration to the
Otherwise I think it's an issue that should be reported.
/Jan
The custom stuff is :
after that i added :
in the plugins section
and at last i added
In the validElements section after the iframe[*].
Other then that i cut out 2 images and renamed them to abbr.gif and acronym.gif and added them to the corresponding folder.
Do you have any Umbraco 7 instance running where u can test if its working for you? From what i understand it happens on all Umb7 versions.
Can you confirm?
Hi Vishal
I think that you should create an issue for this - All the steps you have taken seems to be right to me and it should work. And as you mention it seems more people have had issues with this. So something is probably wrong.
If I remember I'll try giving it a spin during the weekend. But I'll probably run into the same issue as you anyway :)
/Jan
Thanks Jan for your help ... i created an issue. Let's see if Umbraco HQ knows an answer to this problem..
Looks like this is the age old issue of Tidy being too aggressive.
The short of it is, you can customize the RTE however you please - jump through all the hoops from either the umbraco specific or even the tinyMCE documentation, however, TidyHTML ( /bin/TidyNet.dll ) is still going to step on it.
I've answered a few Stack (SO, whatevs;) posts about this over the years ;)
(edit: turns out the Stack answer for the umbraco7 post was for this threads OG poster,)
Hi everyone!
Has there been a solution for this problem yet? I have what seems to be a similar problem. I'm trying to add new special characters to the \umbraco_client\Tinymce3\Themes\Umbraco\charmap.js file, but it's not showing in the CMS. I've found out that I can make changes to the file plugin.min.js in umbraco\lib\tinymce\plugins\charmap and I can see the changes in the CMS, but I can't add new characters there without getting a javascript error. I'm working with Umbraco version 7.2.8.
/Stefan
Hi all...
Did anyone manage to get the custom settings working with TinyMCE in v7.x?
We are attempting to allow a custom attribute on a 'div' element:
using Umbraco 7.3.8
When saving, TinyMCE strips out the custom attribute to be:
We have tried adding the following to the valid elements section of the TinyMCEConfig:
... but this does not work, even after refreshing/restarting the app in all ways described above.
Can anyone help shed some further light on the situation?
Regards, Adam
Hi Adam,
i might have stumbled upon the answer. We faced a similar issue with the
onclick
attribute forspan
elements.With changes made to the tinyMceConfig.config the editor showed all the attributes, but removed them while saving/publishing.
In umbraco/Js/umbraco.controller.js the following line
seemed to remove everything but the defined attributes. As I changed it to
the attributes are now still there after saving/publishing. Hopefully this solves your problem too.
All the best!
is working on a reply...