Opened 15 years ago

Closed 15 years ago

#2949 closed Bug (wontfix)

FCK.GetNamedCommandValue( 'FontSize' ) always returns null / empty

Reported by: Dave Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.6.3
Keywords: Cc:

Description

I am accessing FCK.GetNamedCommandValue( 'FontSize' ) but always getting null, even when I can see there is a value set on its display. Its happening in IE and Moz. Im on 2.6.3 stable

I have no problem returning values for all other commands I have tried with GetNamedCommandValue, just 'FontSize'.

I cant find any reported bugs after x hours on google. Am I just being stupid here?

Thanks in advance

Dave

OR Let me ask this another way. How should I be getting the currently selected value for FontSize, or can you point me towards the docs for this?

Change History (1)

comment:1 Changed 15 years ago by Alfonso Martínez de Lizarrondo

Priority: HighNormal
Resolution: wontfix
Status: newclosed

GetNamedCommandValue will call the native browser implementation of Commands, but that's too limited and it doesn't work with many situations.

So the Font Size combo is a based on the styles system, each entry has a Style and in order to show one as active all of them are tested in the FCKToolbarFontFormatCombo.prototype.RefreshActiveItems function.

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