- From: Chris Harrelson <notifications@github.com>
 - Date: Wed, 26 Jul 2023 07:41:56 -0700
 - To: w3c/editing <editing@noreply.github.com>
 - Cc: Subscribed <subscribed@noreply.github.com>
 
Received on Wednesday, 26 July 2023 14:42:02 UTC
> @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