Re: [w3c/editing] Define behavior of pressing enter in inline editing host (Issue #430)

> @chrishtr What is the "enclosing block" definition? Which one if `<div><span contenteditable>{}<br><span></div>`? Sounds like the non-editable `<div>` in this case.

It's the highest editable ancestor element in the DOM which is a block. If the `{}` in your example is the caret position, then there would be no enclosing block, because the `span` element is not a block.

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

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

Received on Wednesday, 26 July 2023 14:42:02 UTC