Changes between Initial Version and Version 4 of Ticket #11636


Ignore:
Timestamp:
Jul 3, 2014, 1:07:58 PM (5 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11636

    • Property Status changed from new to assigned
    • Property Owner set to Olek Nowodziński
    • Property Summary changed from Improve selection.getSelectedHTML, range.cloneContents and range.deleteContents to Introduce new, focused on UX, methods for getting selected HTML and deleting it
  • Ticket #11636 – Description

    initial v4  
     1Short 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
    15Because 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.
    26
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy