Opened 17 years ago
Closed 17 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
- In sample01, place the caret at the beginning of the text;
- Hit CTRL+B to apply the bold style. We have an empty <b></b> with the selection inside of it at this point;
- Hit CTRL+B to remove it. The <b></b> was not removed (Firebug inspect) and the selection has been moved right after it.
Fixed with [894]. Click here for more info about our SVN system.