Dear all, I have enabled 3 webfonts from google on my site. I don't see them appear in CK editor, as I had hoped. Is the only way to use them in CSS? Tony
You have to add them to the external CSS file you load into CK Editor, since the editor is loaded via an IFrame and doesn't use the style sheets from the main page.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 9/14/2011 4:09 PM, tony maciejowski wrote:
Dear all, I have enabled 3 webfonts from google on my site. I don't see them appear in CK editor, as I had hoped. Is the only way to use them in CSS? Tony
--
*tony maciejowski**| analyst/programmer | websites |tony@tony-mac.com mailto:t_maciejowski@hotmail.com *
*Twitter: anntosh* | *Cell: 323.899.6206* | *Linked-In:* *Anthony Maciejowski*
So down in the CKEditor module? I imagine in the js file.
On Wed, Sep 14, 2011 at 1:27 PM, Jamie Holly hovercrafter@earthlink.netwrote:
You have to add them to the external CSS file you load into CK Editor, since the editor is loaded via an IFrame and doesn't use the style sheets from the main page.
Jamie Hollyhttp://www.intoxination.net http://www.hollyit.net
On 9/14/2011 4:09 PM, tony maciejowski wrote:
Dear all, I have enabled 3 webfonts from google on my site. I don't see them appear in CK editor, as I had hoped. Is the only way to use them in CSS? Tony
--
*tony maciejowski** | analyst/programmer | websites | tony@tony-mac.comt_maciejowski@hotmail.com
*Twitter: anntosh* | *Cell: 323.899.6206* | *Linked-In:* *Anthony Maciejowski*
-- [ Drupal support list | http://lists.drupal.org/ ]
Under the CSS section of the profile editor in CKEditor module. You would have to either create your own CSS file for use in the editor, or modify the style sheet in your theme to include the Google fonts. If you're going with your theme, then something like this at the top of your css file:
@import url("http://fonts.googleapis.com/css?family=Prata");
Just change it to the font you are using. You might want to open an issue up with the Google Fonts module about adding in a way to intergrate with WYSIWYG and CKEDITOR modules.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 9/14/2011 6:03 PM, tony maciejowski wrote:
So down in the CKEditor module? I imagine in the js file.
On Wed, Sep 14, 2011 at 1:27 PM, Jamie Holly <hovercrafter@earthlink.net mailto:hovercrafter@earthlink.net> wrote:
You have to add them to the external CSS file you load into CK Editor, since the editor is loaded via an IFrame and doesn't use the style sheets from the main page. Jamie Holly http://www.intoxination.net http://www.hollyit.net On 9/14/2011 4:09 PM, tony maciejowski wrote:Dear all, I have enabled 3 webfonts from google on my site. I don't see them appear in CK editor, as I had hoped. Is the only way to use them in CSS? Tony -- *tony maciejowski**| analyst/programmer | websites |tony@tony-mac.com <mailto:t_maciejowski@hotmail.com> * *Twitter: anntosh* | *Cell: 323.899.6206 <tel:323.899.6206>* | *Linked-In:* *Anthony Maciejowski*-- [ Drupal support list | http://lists.drupal.org/ ]--
*tony maciejowski**| analyst/programmer | websites |tony@tony-mac.com mailto:t_maciejowski@hotmail.com *
*Twitter: anntosh* | *Cell: 323.899.6206* | *Linked-In:* *Anthony Maciejowski*