Page 1 of 1
NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Fri Jul 31, 2009 3:15 pm
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
Re: My stylesheet won't allow TinyMCE format changes
Posted: Fri Jul 31, 2009 3:30 pm
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
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Fri Jul 31, 2009 5:10 pm
by nuno
add this into css Layout: NCleanBlue:
b, strong{font-weight: bold;}
i, em{font-style: italic;}
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Fri Jul 31, 2009 6:09 pm
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.
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Fri Jul 31, 2009 6:14 pm
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;}
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Fri Jul 31, 2009 7:41 pm
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
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Fri Jul 31, 2009 11:33 pm
by nuno
I just tested in cmsms 1.6.2 and all works fine were. (fresh install)
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Fri Jul 31, 2009 11:34 pm
by Dr.CSS
Maybe they mean it's not showing in the edit box, as no real styling is showing in it anymore?...
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Sat Aug 01, 2009 6:35 am
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.
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Sat Aug 01, 2009 6:36 am
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.
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Tue Sep 22, 2009 10:02 pm
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
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Posted: Mon Oct 26, 2009 8:19 pm
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...