21286 Posts in 5733 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » TinyMCE Styles dropdown - converts style name to lowercase when a style is applied...
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 314 Views |
-
TinyMCE Styles dropdown - converts style name to lowercase when a style is applied...

10 November 2011 at 5:34pm
Hi,
Does anyone else experience this problem? I've added styles to typography.css. And they nicely show up in the TinyMCE editor 'styles' dropdown.
In the dropdown list itself, the case is converted to lowercase and it applies the style name lowercase.
So a discrepancy will exist with any styles that have been written in camel case (or anything other than lowercase).
Eg. typography.css
.sloganText {
font-size: 2.3em;
}In the TinyMCE dropdown, it appears as:
slogantext
When applied to content via the editor....
<p class="slogantext">My SLogan</p>
Obviously, a solution is to rename styles to lowercase. But is this a bug that should be reported? Are are some naming conventions being enforced deliberately?
Thanks.
VWD.
| 314 Views | ||
|
Page:
1
|
Go to Top |

