Steps to reproduce
See this fiddle for a working example and select some text from both paragraphs at the same time: http://jsfiddle.net/Enola/b0b4mjqb/
Only return visible text in the selection.
Please note that all browsers behave the “wrong” way (like Internet Explorer) if before .toString() you also .getRangeAt(0) on the selection but return proper visible text only when directly converting the selection object to string.
Dev Channel specific:
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Tony S.”
Changed Assigned To to “Travis L.”
Changed Assigned To from “Travis L.” to “Eugene V.”
Changed Status to “Confirmed”
Changed Status from “Confirmed” to “Won’t fix”
Changed Assigned To from “Eugene V.” to “Louis S.”
Changed Status from “Won’t fix” to “Fixed”