5099 Posts in 1519 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 904 Views |
-
How to get rid of font-size when adding bullets in CMS?

29 August 2009 at 1:08pm
When editing content, if I make an unordered list, I get this code in html:
<li><span style="font-size: 11px;">text here
How can I get rid of this span? Better yet, how can I specify that lists created in the CMS have a custom class assigned, like <li class="myclass">?
-
Re: How to get rid of font-size when adding bullets in CMS?

29 March 2011 at 7:33am Last edited: 29 March 2011 8:48am
I have the same problem, and I can't find out what's wrong...
Seems to be no answer here or on the tinymce forum
/JohanEDIT: I have the problem in Chrome (10), byt not in IE (8). The text "<li><span style="font-size: 11px;">...<span></li> is just added in Chrome and not in IE!
SOLVED: I don't know what was wrong, but when I installed SS again and copied mysite and themes everything worked.
-
Re: How to get rid of font-size when adding bullets in CMS?

30 March 2011 at 10:07pm
Try adding this to your mysite/_config.php
HtmlEditorConfig::get('cms')->setOption('convert_fonts_to_spans', false);
Aram
-
Re: How to get rid of font-size when adding bullets in CMS?

30 March 2011 at 10:17pm
Aram: I tried that one too, because I found an old post about that, but nothing happened.
And I tried to copy the folders cms and sapphire manually from another installation, and that didn´t worked either. I had short of time, so when the new installation worked I left the problem.Maybe Chrome just had some cache left, because I had no problem in IE.
Thanks /Johan
| 904 Views | ||
|
Page:
1
|
Go to Top |



