Opened 10 years ago
Closed 9 years ago
#12492 closed Bug (duplicate)
CKE include style font-family with lowercase
Reported by: | Stan | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Hi, I found on google that this problem was discused many times - few years and to this time it`s not resolved. Crazy! When I use Google Fonts, then is impossible use font-family names to google API. Google API need strict case sensitive font names. Content with styles font-family can not be lowercase. Please improve it as soon as possible. It is too complicated do it by workaround out of CKE!
Change History (5)
comment:1 Changed 10 years ago by
Keywords: | fonts removed |
---|---|
Status: | new → pending |
Version: | 4.4.5 |
comment:2 Changed 10 years ago by
@standus any updates?
Issue sounded important for you so I assume you will provide working example soon. I really could speed things up once we know test case where that causes problem for you.
comment:3 Changed 10 years ago by
This is in my config:
//google fonts var initialString = "Audiowide"; var myFonts = initialString.split("|").sort(); for(var i = 0; i<myFonts.length; i++){ config.font_names = config.font_names+';'+myFonts[i]; myFonts[i] = 'http://fonts.googleapis.com/css?family='+myFonts[i].replace(' ','+'); } config.contentsCss = [config.contentsCss].concat(myFonts);
and when I use it, CKEditor insert into content this: <p><span style="font-family:audiowide">fasdfasdfasd</span></p>
And its bad. CKEditor change Audiowide -> audiowide. When I want use it on frontside Google dont know it, because he is case sensitive.
comment:5 Changed 9 years ago by
Resolution: | → duplicate |
---|---|
Status: | pending → closed |
Could you please provide me with some code example and plain reproduction steps? Please describe what you do in editor (what you set/paste and where and what you get) to get error or provided reduced sample html file that can be put in samples folder of default editor and will show this problem.