I've tried the above and I still not getting a title attribute in my img tags.
My tinyMceConfig.config allows title as a valid element.
If I add one in manually once I've inserted an image via the source editor then is remains there when it is published and viewed. I think it is being ommitted or stripped out by one of the following
tinymce (or umbraco) strips title attribute of img tags
Hi,
If I insert an image with the richtext editor and save/publish the node, somehow the title attribute inside the img-tag gets deleted.
I already set the TidyEditorContent to "False" in config\umbracoSettings.config
It's strange... because a fresh installed umbraco also deletes those img title attributes. But title attributes in <a>-tags are working :O
I just browsed the umbraco config for valid elements for TinyMCE and found this:
Note the equal sign before the title attribute. But this seems to be correct. http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elements#Default_rule_set:
Any ideas?
Sandro,
I have had similar problems to this. I had to add 'rel=0'?
The full forum discussion: http://forum.umbraco.org/yaf_postst4580_TinyMCE-stripping-out-img-id-attributes.aspx
In order to get the title tag to show,
1) Open umbracoSettings.config in the config folder
2) Towards the top, you should see <allowedAttributes> under <imaging>
3) Change
to
4) Touch the web.config or recycle the application pool to restart Umbraco
Enjoy!
--
Donald
That fix worked on our installation of Umbraco. Thanks!
This is happening with Umbraco 5. Is there a new method to fix this issue?
Thanks Donald. This fix also worked for me.
Hi guys,
I've tried the above and I still not getting a title attribute in my img tags.
My tinyMceConfig.config allows title as a valid element.
If I add one in manually once I've inserted an image via the source editor then is remains there when it is published and viewed. I think it is being ommitted or stripped out by one of the following
Any help would be greatly appreciated :-)
is working on a reply...