Opened 11 years ago
Closed 11 years ago
#12130 closed Bug (fixed)
Bender.tools.range.getWithHtml prunes element ids
| Reported by: | Olek Nowodziński | Owned by: | Olek Nowodziński | 
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.4.3 | 
| Component: | General | Version: | |
| Keywords: | Cc: | 
Description
Because of
and
element ids are pruned. This is the default behavior of CKEDITOR.dom.node.clone(), which is undesired in bender.tools.range.getWithHtml().
Change History (6)
comment:1 Changed 11 years ago by
| Owner: | set to Olek Nowodziński | 
|---|---|
| Status: | new → assigned | 
comment:2 Changed 11 years ago by
| Status: | assigned → review | 
|---|
comment:3 follow-up: 4 Changed 11 years ago by
| Status: | review → review_failed | 
|---|
CKEDITOR.dom.node#clone accepts a 2nd parameter - cloneId ;)
comment:4 Changed 11 years ago by
| Status: | review_failed → review | 
|---|
Replying to Reinmar:
CKEDITOR.dom.node#clone accepts a 2nd parameter - cloneId ;)
Right. Fixed in 12130b: https://github.com/benderjs/benderjs-ckeditor/commit/3f1275b0b3e4e323265e0d0cf3a7ef18395e1c0d.
comment:5 Changed 11 years ago by
| Milestone: | → CKEditor 4.4.3 | 
|---|---|
| Status: | review → review_passed | 
Pushed branch:t/12130 rebased on master - it was incorrectly rooted in major.
comment:6 Changed 11 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | review_passed → closed | 


Pushed changes to https://github.com/benderjs/benderjs-ckeditor/commit/4c6d8afed25d88978a032e5fa54fb7a153ffa1eb and branch:t/12130 (tests).