Opened 18 years ago
Last modified 10 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