Opened 10 years ago

Closed 10 years ago

#12262 closed New Feature (wontfix)

Test and improve getSelectedText

Reported by: Piotr Jasiun Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

Since drag and drop and copy/cut and paste use not only selection.getSelectedHtml but also selection.getSelectedText it would be good to create better tests for it (now there are only 2) and improve that method if necessary.

Maybe getSelectedText could be based on getSelectedHtml.

Related: #11437, #11636.

Change History (1)

comment:1 Changed 10 years ago by Piotrek Koszuliński

Resolution: wontfix
Status: newclosed

The method uses native methods, so there's not much we can do about it. If any of the native methods does not work well or browsers are incompatible between themselves, we have to accept that. Existing tests are ok.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy