Opened 9 years ago

Closed 9 years ago

#14821 closed Bug (invalid)

Default font family and size not set for body tag in ckeditor .

Reported by: Prasant Kumar Sahoo Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: CGS-Turbo@…

Description

I set my default font family and size in ckeditor using this two below line

font_defaultLabel ='Times New Roman' fontSize_defaultLabel='10pt'

When selecting the font and size the paragraph creating in body tag like this. <p>

<span style="font-family:arial,helvetica,sans-serif;">

<span style="font-size:8.0pt;"> </span>

</span>

</p>

When initialize ckeditor with default family ,Font family and size not selected in dropdown but label Shows like "TimesNewRoman" and "10pt".Then body content show like this

<p></p>

Change History (1)

comment:1 Changed 9 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.5.10 (GitHub - master)

As documentation states, it is only default value for the dropdown. If you want to have same default value used in body, please modify your contents.css so that it has 10pt and TimesNewRoman assigned.

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