Opened 17 years ago

Last modified 9 years ago

#864 assigned New Feature

Make subscript/superscript switchable — at Initial Version

Reported by: Martin Kou Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: IBM SF Cc: Frederico Caldeira Knabben, Joe Kavanagh, dchojna@…, lynne_kues@…, camden.michael@…

Description

I've observed strange behaviour when switching between subscript/superscript (concerns situations when both are switched on). Added this to fcknamedcommand (start of execute function):

if (((this.Name=='Subscript') && (!FCK.EditorDocument.queryCommandState('Subscript')))

((this.Name=='Superscript') &&

(!FCK.EditorDocument.queryCommandState('Superscript')))) { FCK.ExecuteNamedCommand('RemoveFormat'); }

and voila - subscript/superscript works fine ...


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1428321&group_id=75348&atid=543656

Change History (0)

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