- From: Axel D. <notifications@github.com>
- Date: Fri, 01 Mar 2019 06:39:47 -0800
- To: w3c/selection-api <selection-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 1 March 2019 14:40:09 UTC
This is supposed to handle the issue that in a `<pre>` element (or any element styled with `white-space: pre;`), `\n` and `<br/>` are handled the same. Some JavaScript tools convert between these two formats. Creating a rich-text editor for an editing host element may add `<span>`, `<u>`, `<b>` and `<i>` elements around parts of text. Yet, the selection must be retained after such change. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/selection-api/issues/102#issuecomment-468686066
Received on Friday, 1 March 2019 14:40:09 UTC