Opened 15 years ago
Closed 15 years ago
#3330 closed Bug (duplicate)
Bogus br when Insert table cell
Reported by: | Garry Yao | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.0 |
Component: | General | Version: | |
Keywords: | Firefox Webkit | Cc: |
Description
Table cell insertion logic should be optimized to be filled with bogus BR instead of hard BR.
Reproducing Procedures
- Open the replace by class example page;
- Clear all document content, and open 'Table' dialog to Insert a 1x1 table;
- Switch to 'Source' mode.
- Actual Result: Extra BRs displayed in source code.
<table border="1" cellpadding="1" cellspacing="1" style="width: 200px;"> <tbody> <tr> <td> <br /> </td> </tr> </tbody> </table> <p> <br /> </p>
- Expected Result:
<table border="1" cellpadding="1" cellspacing="1" style="width: 200px"> <tbody> <tr> <td> </td> </tr> </tbody> </table>
- Actual Result: Extra BRs displayed in source code.
This is actually #2886.