- From: Simon Pieters <notifications@github.com>
- Date: Fri, 10 Mar 2023 02:19:54 -0800
- To: w3c/editing <editing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 10 March 2023 10:20:07 UTC
See https://bugzilla.mozilla.org/show_bug.cgi?id=1291467#c17 by @masayuki-nakano > I checked the behavior in Chrome roughly now, then, I see only the following commands work, so their definitions are required: > > - Handling steps of `Document.execCommand("insertParagraph")` (Chrome/Safari handle this command differently from pressing Enter) > - Handling steps of `Document.execCommand("insertLineBreak")` (LF vs `<br>` (Chrome vs. Safari) > - Handling steps of the commands when caret is in special elements such as `<li>` > - Handling steps of `Document.execCommand("insertText")` (including line breaks causes insertParagraph in both, but I'm not sure it's intended since the behavior looks odd) > - Handling steps of `Document.execCommand("insertHTML")` (especially which elements need to be handled as line breaks) > > And the other commands (except `undo`, `redo` and clipboard commands) should be defined as NOOP (including not deleting `Selection`). cc @howard-e -- Reply to this email directly or view it on GitHub: https://github.com/w3c/editing/issues/419 You are receiving this because you are subscribed to this thread. Message ID: <w3c/editing/issues/419@github.com>
Received on Friday, 10 March 2023 10:20:07 UTC