Copied to clipboard

Flag this post as spam?

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


  • Simon Wright 2 posts 22 karma points
    Dec 02, 2011 @ 11:14
    Simon Wright
    0

    Bold text disappearing when published

    Hi all,

    The pages on my site have some bold text and some non-bold text.

     

    However, when I edit and republish the page, all of the text reverts back to not bold!

     

    This causes a lot of hassle for me as the content on my site needs updating constantly.

     

    Any ideas please?

     

    Regards,

     

    Simon

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Dec 02, 2011 @ 14:04
    Tom Fulton
    0

    Hi Simon,

    It sounds like TinyMCE's validElements setting might be kicking in, which removes any elements that are not defined as "valid".  Have you changed this setting at all?

    Check your /config/tinyMceConfig.config file for the <validElements> area, it should contain in the list:  -strong/-b[class|style]

    If you need to add it, make sure to touch your web.config for the changes to apply.

    If that doesn't work, what Umbraco version and browser are you using?

    -Tom

  • Simon Wright 2 posts 22 karma points
    Dec 05, 2011 @ 12:55
    Simon Wright
    0

    Hi Tom,

    Thanks very much for the fast response.

    We have tried this, but it seems to be something else.

    I am only a junior developer so not something I would have a clue how to look into.

    -Simon

  • Stephen 204 posts 246 karma points
    Dec 05, 2011 @ 13:22
    Stephen
    0

    This has happened to me also whereby I lost my P tags and as Tom says it will be contected to the richtext editor you are using to edit the text that you want bold.

    I presume you have the <strong> or <b> in your template surrounding the umbraco Item? I ended up doing it like below..with my datatype for header being a stripped down text editor.

     <p class="header"><umbraco:Item field="headerText" stripParagraph="true" runat="server"></umbraco:Item></p>

    with a class called header in the CSS which was bold.

    S

  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 9x admin c-trib
    Dec 05, 2011 @ 14:01
    Chriztian Steinmeier
    0

    Hi Simon,

    Are you using Safari? TinyMCE (atleast the version in Umbraco) has some problems with the way contentEditable works in Safari, which I've never succeeded in finding a cure/workaround for.

    Using Chrome, works (I know, I don't like that either, but atleast it works - and that's all clients want to know :-) 

    /Chriztian

  • 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