Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • pnr 131 posts 226 karma points
    May 25, 2010 @ 20:31
    pnr
    0

    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!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 12x admin c-trib
    May 25, 2010 @ 21:49
  • pnr 131 posts 226 karma points
    May 26, 2010 @ 12:54
    pnr
    0

    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

  • Dan 1288 posts 3942 karma points c-trib
    May 26, 2010 @ 13:19
    Dan
    0

    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?

  • 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.

Please Sign in or register to post replies