NCleanBlue template/stylesheet won't allow TinyMCE format changes
NCleanBlue template/stylesheet won't allow TinyMCE format changes
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
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.
Re: My stylesheet won't allow TinyMCE format changes
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
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
add this into css Layout: NCleanBlue:
b, strong{font-weight: bold;}
i, em{font-style: italic;}
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.
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Thanks for the suggestion. But that didn't seem to make a difference -- either in the WYSIWYG edit area, or in Firefox.nuno wrote: 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
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;}
.b, .strong {font-weight: bold;}
.i, .em {font-style: italic;}
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
Thanks for these suggestions, but they're not working.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;}
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
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.
Re: NCleanBlue template/stylesheet won't allow TinyMCE format changes
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
I'm not sure what this last comment means. Maybe you could re-word it?Dr. CSS wrote: Maybe they mean it's not showing in the edit box, as no real styling is showing in it anymore?...
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
Is it working the same in Firefox and IE? Not for me (at least with NCleanBlue template). Works in IE but not Firefox. Wierd.nuno wrote: 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
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...philiplyons wrote: I am having exactly the same problem as twitt.
Any idea how to cure this?
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
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...


