Copied to clipboard

Flag this post as spam?

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

  • jing.ling 29 posts 20 karma points
    May 22, 2009 @ 06:27

    few layout questions for Richtext Editor

    Hi All. I am using Umbraco 4.0.1 and I have some questions about layout.

    1. The underline is not working. It works inside the Richtext Editor but when I publish the page, the underline disappears.

    2. Anyone know how to add a colour table in the RichText Editor?

    3. When I use "ordered list" in the RichText editor, I can not add space between each line.

    Thank you for your help in advance.

  • dandrayne 1138 posts 2262 karma points
    May 22, 2009 @ 10:47

    Hi there

    1. What code us being outputted on the site? It may be that you have a css reset or something that is removing default underline styling
    2. No, but you could add classes. There is also an "approved colour picker" datatype that could be useful?
    3. This is a css thing - try something like

    ol li {margin-bottom: 10px;}

    You can also apply a stylesheet to the RTE so that you see this when editing.

  • Xaiou 6 posts 26 karma points
    May 04, 2010 @ 08:37
  • Petr Snobelt 923 posts 1535 karma points
    May 04, 2010 @ 09:22
  • Peter Diring 1 post 21 karma points
    Aug 03, 2010 @ 20:02
    Peter Diring

    The was not available so I dont know if below information is redundant.

    Anyway: There is a "bug" in tinymceConfig.config / <validElements>

    -span[class|align] should be -span[class|align|style] to correctly allow tidy to do the proper cleanup.

    This also fixes problems pasting underline (<u> </u>) from word.


  • Doug Mackay 56 posts 155 karma points
    Jan 23, 2011 @ 19:39
    Doug Mackay

    Codeplex ticket 22340 was closed with the reason that underline isn't xhtml strict compliant. However TinyMce handles this by converting it to a span tag with a text-decoration style.

    I've opened a new ticket requesting that -span[class|align]' gets changed to '-span[class|align|style]' in 'config/tinyMceConfig.config'.

Please Sign in or register to post replies

Write your reply to: