Changes between Initial Version and Version 4 of Ticket #11636
- Timestamp:
- Jul 3, 2014, 1:07:58 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11636
-
Property
Status
changed from
newtoassigned - Property Owner set to Olek Nowodziński
-
Property
Summary
changed from
Improve selection.getSelectedHTML, range.cloneContents and range.deleteContentstoIntroduce new, focused on UX, methods for getting selected HTML and deleting it
-
Property
Status
changed from
-
Ticket #11636 – Description
initial v4 1 Short description - we need methods which will retrieve and extract HTML in a way correct from user experience POV. For example when selection is inside `<strong>`, we need not only text that's selected, but also information about the style applied in this location, so that `<strong>` tag. 2 3 == Outdated description: == 4 1 5 Because of custom implementation of drag & drop (#11460) we will use `selection.getSelectedHTML` and `range.deleteContents` more often to read and remove dragged HTML. Current implementation of `selection.getSelectedHTML` can not be based on `range.cloneContents` because it changes range (#11586) and works not as we could expected. 2 6
