Colors and other modifications within [PLAIN] tags

Discussion in 'Test Forum' started by mood, Jan 12, 2018.

  1. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    4,859
    2018 will be the year of adding [PLAIN]-tags to a lot of posts :rolleyes:
    Why?
    Example: (January 12, 201:cool:
    After embedding it in those tags (to avoid smileys) it looks like this: (January 11, 2018)
    In general this will also lead to loosing of all formattings within the tags.

    Test #1:
    Source:
    Code:
    [PLAIN][COLOR=#0000ff]:( This is bold and blue :)[/COLOR][/PLAIN]
    [PLAIN][COLOR=#ff0000]This is red :)[/COLOR][/PLAIN]
    [PLAIN][S](8) strike-through (8)[/S][/PLAIN]
    [PLAIN][SIZE=5]Font 5[/SIZE][/PLAIN]
    [PLAIN][U][I]Italic+Underline :) (2018)[/I][/U][/PLAIN]
    
    
    Result:
    :( This is bold and blue :)
    This is red :)
    (8) strike-through (8)
    Font 5
    Italic+Underline :) (2018)
     
  2. mood

    mood Updates Team

    Joined:
    Oct 27, 2012
    Posts:
    4,859
    There is a solution to get rid of the smiley but without loosing the text color or other formattings.

    For example to have a bold "(8)" we can try to:
    write it without [PLAIN]-tags = (:cool:
    embed into [PLAIN]-tags = (8)
    This is not what we want but the solution is this: (8)

    (8) including the [PLAIN] and [/PLAIN] tag has to be marked in bold and now the format is preserved (and the smiley is gone of course)

    Test #2:
    Source:
    Code:
    [B][COLOR=#0000ff][PLAIN]:( This is bold and blue :)[/PLAIN][/COLOR][/B]
    [COLOR=#ff0000][PLAIN]This is red :)[/PLAIN][/COLOR]
    [S][PLAIN](8) strike-through (8)[/PLAIN][/S]
    [SIZE=5][PLAIN]Font 5[/PLAIN][/SIZE]
    [U][PLAIN]Italic+Underline :) (2018)[/PLAIN][/U]
    Result:
    :( This is bold and blue :)

    This is red :)
    (8) strike-through (8)
    Font 5
    Italic+Underline :) (2018)
     
  3. Mister X

    Mister X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    3,188
    Location:
    Mexico
  4. Minimalist

    Minimalist Registered Member

    Joined:
    Jan 6, 2014
    Posts:
    8,753
    Location:
    Slovenia
    Good advice :thumb:
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.