[Webkit-unassigned] [Bug 185897] AX: setValue on contenteditable should preserve whitespace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 25 10:55:00 PDT 2018


--- Comment #16 from Nan Wang <n_wang at apple.com> ---
(In reply to Darin Adler from comment #15)
> If we’re trying to do the equivalent of typing, then we should be using code
> from the editing machinery. Besides handling spaces correctly, that will
> make things like undo work.
> For example, when someone uses QuickType or an input method to type a
> sequence of characters all at once, that’s not done by directly mutating the
> DOM.
> I only have a moment to write this comment, so I can’t point at exactly the
> right code to use but most of the relevant code is in the editing directory.
> Looking at execCommand can also be helpful.

Thanks for the suggestion. I'll look into that.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180525/fed3e7d5/attachment.html>

More information about the webkit-unassigned mailing list