Ticket #2209 (closed Bug: worksforme)

Opened 22 months ago

Last modified 22 months ago

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

Changed 22 months ago by w.olchawa

  • keywords DefaultFontLabel removed
  • priority changed from High to Normal
  • status changed from new to closed
  • resolution set to worksforme
  • milestone FCKeditor 2.6.1 deleted

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.

Changed 22 months ago by knp

  • status changed from closed to reopened
  • resolution worksforme deleted

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

Changed 22 months ago by w.olchawa

  • keywords WorksForMe added
  • status changed from reopened to closed
  • resolution set to worksforme

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.