Opened 11 years ago

Closed 11 years ago

#1298 closed Bug (fixed)

Remove format is not removing collapsed tags

Reported by: Frederico Caldeira Knabben Owned by:
Priority: Normal Milestone: FCKeditor 2.5 Beta
Component: Core : Styles Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Cc:

Description

The code introduced with [865] is ok only if inside elements with contents. For empty elements, we must really remove them.

Steps to Reproduce

  1. In sample01, place the caret at the beginning of the text;
  2. Hit CTRL+B to apply the bold style. We have an empty <b></b> with the selection inside of it at this point;
  3. Hit CTRL+B to remove it. The <b></b> was not removed (Firebug inspect) and the selection has been moved right after it.

Change History (1)

comment:1 Changed 11 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

Fixed with [894]. Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy