Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#14564 closed Bug (invalid)

Font and Size

Reported by: jayachandra Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: font Cc:

Description

Steps to reproduce

  1. CKEDITOR.config.font_defaultLabel = 'Arial'; and size as 10
  2. Enter text in ckeditor textbox and then sent mail to user using SMTP
  3. But the font in email is not showing as 'Arial', it is showing 'Times New Roman', please suggest

Expected result

Arial font should display

Actual result

Times new roman is displayed

Other details (browser, OS, CKEditor version, installed plugins)

Attachments (1)

Plugin.js (10.5 KB) - added by jayachandra 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by jayachandra

Attachment: Plugin.js added

comment:1 Changed 9 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.5.3

Please see: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-font_defaultLabel

This is default value displayed in font dropdown if none of the font-styles of currently selected elements match.
This label is not setting default font style. You can do it in to ways:

  1. You can set default font-family for element body or even P in contents.css. These are however styles used in editor content area only so if your email from editor is being put into some HTML document, this document should have same styles used. Please see http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-contentsCss
  1. If whole document is created inside editor then this document should have some default styles assigned (in header section) or you can manually assign styles using dropdowns what will result in a sample text inside paragraph will being wrapped in styled span.

comment:2 Changed 8 years ago by Ravi

Hi Team,

Could you please elaborate this fix.

We are facing the same issue in our Siebel application.

We are not experts in java script coding.

It would be great if you could provide detailed steps to fix this issue.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy