[w3c/editing] `insertParagraph` inserts a line break when tag is not an allowed child in step 11.5.1 (Issue #552)

TimvdLippe created an issue (w3c/editing#552)

In https://w3c.github.io/editing/docs/execCommand/#the-insertparagraph-command for

> If tag is not an [allowed child](https://w3c.github.io/editing/docs/execCommand/#allowed-child) of the [active range](https://w3c.github.io/editing/docs/execCommand/#active-range)'s [start node](https://dom.spec.whatwg.org/#concept-range-start-node), return true.

instead it should invoke the `insertLineBreak` command and return the value of that command.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/552
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/issues/552@github.com>

Received on Wednesday, 11 November 2026 09:28:44 UTC