Opened 12 years ago
Closed 12 years ago
#9663 closed Bug (fixed)
Insert HR in table head crashes browser
Reported by: | Garry Yao | Owned by: | Piotrek Koszuliński |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.0 |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description
- Open replacebyclass sample;
- Put cursor inside of the first th of the contained table;
- Click on "Insertion Horizontal Line"
- Actual: Browser crashes.
Change History (3)
comment:1 Changed 12 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 12 years ago by
Owner: | set to Piotrek Koszuliński |
---|---|
Status: | confirmed → assigned |
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed with git:abd4582.
While-loop inside
editable#insertElement
was falling in infinitive loop. It's because of some problems with splitBlock, but it turned out that there's a second problem - DTD for TH doesn't accept flow elements (e.g.<hr>
). Fixing this stopped while loop. I suppose that splitBlock is still broken but I doesn't affect any known case.