id summary reporter owner description type status priority milestone component version resolution keywords cc 1205 Style must be removed from collapesed selection Frederico Caldeira Knabben Frederico Caldeira Knabben "If the selection is collapsed inside some styled text, clicking on the style button must remove the style. For example, suppose we have the following situation, where ""|"" represents the selection position: {{{ This is some s|ample text. }}} In this case, the ""Bold"" button will be ""on"" in the toolbar. By clicking in the button, the bold style must be removed, resulting in: {{{ This is some s|ample text. }}} This behavior is true only if the selection has text around it. If we are at the style element boundaries, we should simply move the selection outside of it. For example: {{{ This is |some sample text. or This is some sample| text. }}} Must change it to: {{{ This is |some sample text. or This is some sample| text. }}} To note that in the second situation, other styles must continue active, using the same rules defined for it when applying styles to collapsed selections (generating the tags only if text is typed)." Bug closed Normal FCKeditor 2.5 Beta Core : Styles fixed