Copied to clipboard

Flag this post as spam?

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


  • Tatiana Vassilieva 18 posts 98 karma points
    Feb 08, 2013 @ 06:14
    Tatiana Vassilieva
    0

    tinyMCE not replacing synonymous tags?

    The valid elements sections clearly has "-em/-i[class|style]" in the config but it just ignores any "i" tags I put in or, if I add "-i" to the config elements, just keeps them all without replacing them!


    I'm trying to replace hr tags with div tags but it seems umbraco is ignoring the control characters or interpretting the config file differently?? How do I fix it? (Using 4.9.1)

  • Tatiana Vassilieva 18 posts 98 karma points
    Feb 11, 2013 @ 05:16
    Tatiana Vassilieva
    100

    Well, still no idea what is wrong with the em/i tags but did sawp the <hr/> from the tinyMCE text editor button to a div :)

    changed: ,hr[class|style],
    to: ,#div/hr[class=horizontal-line|style=border-bottom:1px solid black],

    Did not work when div output element had attribute definitions so had to move those to the hr defaults.
    The text editor also did not want to display the div css on the editor (though it did on the web page) so had to specify a style value.

Please Sign in or register to post replies

Write your reply to:

Draft