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?
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.
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 :-)
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
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
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
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
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
is working on a reply...
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.