Thanks for your reply! I can't add a class to my link using the default css dropdown. I have a picture with a link, if i select the picture and chose a style from the style dropdown, nothing happens.
As far as I know, it's not possible to add a CSS class directly to an anchor tag with the way that TinyMCE is set up in Umbraco. I've got around this in the past by using jQuery - which was frustrating. I know TinyMCE itself allows classes on anchor tags (it's a property in the anchor pop-up) but this doesn't fit with the way Umbraco integrates it's styles... at least in < v4.1. Does anyone know if there's more flexibility around this in 4.1?
Select a class when inserting a link i TinyMCE
Is it somehow possible to select a css class for a link, when inserting it with TinyMCE?
Thanks in advance!
Hi
Yes it is possible to do so.
You can read more about how to do it in here: http://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-%28tinymce%29/add-styles-to-the-drop-down-menu-for-editors-to-use
/Jan
Hi Jan
Thanks for your reply!
I can't add a class to my link using the default css dropdown. I have a picture with a link, if i select the picture and chose a style from the style dropdown, nothing happens.
/Peter
As far as I know, it's not possible to add a CSS class directly to an anchor tag with the way that TinyMCE is set up in Umbraco. I've got around this in the past by using jQuery - which was frustrating. I know TinyMCE itself allows classes on anchor tags (it's a property in the anchor pop-up) but this doesn't fit with the way Umbraco integrates it's styles... at least in < v4.1. Does anyone know if there's more flexibility around this in 4.1?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.