Opened 13 years ago
Closed 13 years ago
#8592 closed Bug (invalid)
FF: <br> tag added to each table cell when a table is created
Reported by: | Teresa Monahan | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | IBM | Cc: | Damian, Satya Minnekanti |
Description
To Reproduce:
Open any CKEditor sample in FF and insert a table.
Inspect the table that was created using Firebug.
Problem: Each cells contains a <br> tag.
When you enter text in one of the cells and then switch to Source view and back to wysiwyg mode, the <br> tag is no longer present in that cell.
Is there a reason for adding these <br> tags in FF?
Attachments (2)
Change History (3)
Changed 13 years ago by
Attachment: | FF table br tags.jpg added |
---|
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Version: | 3.6.3 (SVN - trunk) |
We fill tables with empty br's.
Take a look at:
_source\plugins\table\dialogs\table.js:
This is because nonIE browsers have problems with displaying empty table cells. It can be best observed in Firefox Firebug and Opera Dragonfly.
Take a look at 8592.png and see what happens when you delete those br nodes. What is more when you click inside such empty cell Firefox adds its own br inside (
<br type="_moz">
)Please reopen this issue if you don't agree with my opinion.