Support Forum

Format with TinyMCE

BC Bob Christensen
Bob Christensen
Member

Using TinyMCE as the default editor. All format decisions look right when editing, but when a user actually posts an item, bold, italic and underline commands are ignored while font color works correctly.

Any suggestions?

9 Answers

New Answer

MP Mr Papa
Mr Papa
Member

are you using the buttons to format the bold, italic and underline?  or entering the html by hand?  if the latter, you have to enter raw html in the html popup (use the html button)…

BC Bob Christensen
Bob Christensen
Member

Thanks for the quick response. You’re even faster than we are, and we’re fast!

We’re using the buttons, but it doesn’t make a difference. In either case, the text reflects the change in the editor but not in the posting.

 

In both cases, the coding seems right:

With buttons:

<p><span style=”color: #ff0000;”><em><strong>This is a test</strong></em></span></p>

With html:
<p><span style=”color: #ff0000;”><em><strong>this is, too</strong></em></span></p>

The end result is text that isn’t bold, isn’t underlined and isn’t italic but is red.

MP Mr Papa
Mr Papa
Member

do you have a link to your site with an example?

We? wink the form tool site?  will have to check it out…

BC Bob Christensen
Bob Christensen
Member

Yes. Here is the forum at issue

 

http://www.theformtool.com/forum

MP Mr Papa
Mr Papa
Member

yeah, looking at: http://www.theformtool.com/forum/great-forms/this-is-a-test/#p70

both are indeed bold…  and colored…

but neither are italicized…  seems to be a conflict in your theme css…

line 110 of your wp theme style.css does this

EM, I {
    font-style: italic;
}

which is overriding your reset.css style at line 10 which does

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}

now, I am not sure why there is a conflict at moment, but if you remove both those font-style directives, they come out italicized properly…

additionally, if you make a change in our sp theme reset.css, you can get them to play nicely…  in the reset css you can see we do a font-family: inherit to make the forum pick up the wp theme font family… without it, not sure the font comes out right on your site – perhaps it does…

so not sure of the interaction of those three… seems a bit odd…

if you wanted to change the sp theme and be more specific on the font family, please make your own sp theme (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)

BC Bob Christensen
Bob Christensen
Member

Thank you.

 

I’m sure the answer is brilliant and correct, so I’ll forward it to our developer for either action or translation.

 

Great service, thank you.

MP Mr Papa
Mr Papa
Member

cool. come on back if there is any more questions on that… Curious to know your final resolution too… wink

BC Bob Christensen
Bob Christensen
Member

Apparently all of the text in our forum is already bold, some sort of global default. I had not seen “normal” before.