elm / virtual-dom

The foundation of HTML and SVG in Elm.
https://package.elm-lang.org/packages/elm/virtual-dom/latest
BSD 3-Clause "New" or "Revised" License
209 stars 80 forks source link

Copy from /paste to contenteditable causes runtime error #89

Closed simonh1000 closed 7 years ago

simonh1000 commented 7 years ago

See https://ellie-app.com/tnXL92zwvka1/6

Basically copy-paste copies styles by default. paste therefore adds an extra span with the copied styles. Possible solutions here

process-bot commented 7 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

evancz commented 7 years ago

I am consolidating all contenteditable stuff into #104, so we can see it all in one place.

Thanks for the report!

ghost commented 6 years ago

@evancz this still seems to be an issue also with document.execCommand it's also moving cursor to the start of the field on update. Do you have plans to improve that in near future?

ghost commented 6 years ago

The same with 0.19