NCleanBlue template/stylesheet won't allow TinyMCE format changes

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by twwitt »

Hi --
Am using CMSMS 1.6 with TinyMCE.

After a lot of edits to my stylesheet and template, I suddenly realize that I can not make format changes (like e.g. italics or bold or anything like that) in TinyMCE  ( the codes for italics, like em and /em  show up in the html, but not on the TinyMCE WYSIWYG pane, nor on the page when displayed).   Styles in my template when applied via the dropdown list work okay, but not any of Tiny's formatting buttons.

It's not a problem with Tiny, as formatting works fine when I substitute in another template that uses a different stylesheet.

So, I assume I must have done something in my stylesheet (a modified NCleanBlue) that's not allowing this formatting to happen.

Anybody have any idea what I might have done?

-- Twitt
Last edited by twwitt on Fri Jul 31, 2009 3:31 pm, edited 1 time in total.
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

Re: My stylesheet won't allow TinyMCE format changes

Post by twwitt »

After further looking, it seems like the regular NCleanBlue template/stylesheet does the same thing -- it doesn't allow me to do TinyMCE formatting of text in the content area. Anyone else experienced this?

Also, it seems like the formatting (like adding italics to a word) actually shows up on the page in IE but not in Firefox.


-- Twitt
Last edited by twwitt on Fri Jul 31, 2009 3:33 pm, edited 1 time in total.
nuno

Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by nuno »

add this into css  Layout: NCleanBlue:

b, strong{font-weight: bold;}
i, em{font-style: italic;}
Last edited by nuno on Fri Jul 31, 2009 5:19 pm, edited 1 time in total.
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by twwitt »

nuno wrote: add this into css  Layout: NCleanBlue:

b, strong{font-weight: bold;}
i, em{font-style: italic;}
Thanks for the suggestion. But that didn't seem to make a difference -- either in the WYSIWYG edit area, or in Firefox.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by Dr.CSS »

If it shows up in ie but not ff it is because tiny is using an outdated form of making italics, etc. the thing Nuno posted may work better if you make them classes then they will appear in the style drop down...

.b, .strong {font-weight: bold;}

.i, .em {font-style: italic;}
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by twwitt »

Dr. CSS wrote: If it shows up in ie but not ff it is because tiny is using an outdated form of making italics, etc. the thing Nuno posted may work better if you make them classes then they will appear in the style drop down...

.b, .strong {font-weight: bold;}

.i, .em {font-style: italic;}
Thanks for these suggestions, but they're not working.

I'm convinced it's something with this particular template/css called NCleanBlue that's causing this behavior.  As I mentioned above, Tiny works fine (in the WYSIWYG, and in IE and Firefox) with another template/css, but not with NCleanBlue -- with this template ONLY is it behaving this way.

Any other ideas?

-- Twitt
nuno

Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by nuno »

I just tested in cmsms 1.6.2 and all works fine were. (fresh install)
Last edited by nuno on Fri Jul 31, 2009 11:34 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by Dr.CSS »

Maybe they mean it's not showing in the edit box, as no real styling is showing in it anymore?...
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by twwitt »

Dr. CSS wrote: Maybe they mean it's not showing in the edit box, as no real styling is showing in it anymore?...
I'm not sure what this last comment means. Maybe you could re-word it?

Here's a clarification after playing with this some more:

Using the NCleanBlue template/stylesheet, I've found that TinyMCE doesn't display italics, bold, or other formatting changes (via the icon buttons) either in the WYSIWYG panel nor using Firefox 3.5.1.  However, I've discovered that it DOES work fine in Internet Explorer. 

Weird.  Why would this be?

Using other templates besides NCleanBlue, TinyMCE works fine in both browsers, and formatting changes show up on finished pages in both browsers.
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by twwitt »

nuno wrote: I just tested in cmsms 1.6.2 and all works fine were. (fresh install)
Is it working the same in Firefox and IE? Not for me (at least with NCleanBlue template). Works in IE but not Firefox. Wierd.
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm

Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by twwitt »

philiplyons wrote: I am having exactly the same problem as twitt.

Any idea how to cure this?
I'm still having this problem as well.  The codes "em" and "strong" are being generated -- i.e. they're in the source when I look at it.  But Firefox is not displaying italics or bold...

Any idea if something in Clean Blue css is interfering with this? or is it a TinyMCE problem??  It's weird.  All formatting displays fine in IE, but NOT in Chrome, Opera or Firefox.

-- Twitt
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes

Post by Dr.CSS »

IE just guesses at what you want so it maybe doing what you want, and yes if you look in the last style sheet for ncleanblue you will see classes for em and bold...
Post Reply

Return to “Layout and Design (CSS & HTML)”