Opened 17 years ago

Closed 17 years ago

#2209 closed Bug (worksforme)

Configure DefaultFontLabel does not change default used font

Reported by: knp Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.6
Keywords: WorksForMe Cc:

Description

hi,

I have to configure a default font that is used when you enter a text into the editor.

I looked at your documentation and configured the default font like described here:

http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/DefaultFontLabel

After doing this in the font combo box the configured font is chosen. but when you enter any text into the editor no font formating is done, the html source does not have any font tags or anything else.

(I have tried this too for the html examples for FCKeditor_2.6 sample14 => here it does not work too)

would be really important for us that this bug is fixed, because our clients need it urgently.

Change History (3)

comment:1 Changed 17 years ago by Wojciech Olchawa

Keywords: DefaultFontLabel removed
Milestone: FCKeditor 2.6.1
Priority: HighNormal
Resolution: worksforme
Status: newclosed

The DefaultFontLabel defines the name that should be displayed in the Font Combo. It doesn't determine what font will be used by default but only what text will be displayed in the combo when the user didn't select any font at all. So the behaviour which you are experiencing is expected.

comment:2 Changed 17 years ago by knp

Resolution: worksforme
Status: closedreopened

is there another configuration or any way to get a default font used for the text written in the editor?

there are also other useres that would like to know that and there was no reply in the forum:

http://www.fckeditor.net/forums/viewtopic.php?f=6&t=8641&p=25258&hilit=defaultfontlabel#p25258

so please tell me if there is a possibility to solve this problem.

thanks in advance

comment:3 Changed 17 years ago by Wojciech Olchawa

Keywords: WorksForMe added
Resolution: worksforme
Status: reopenedclosed

The simplest idea that comes in my mind is to define a custom css, with the font which is needed, for the editor area using this function:

http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/EditorAreaCSS

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