Move the block holding the selection out of its container and into the
container's own parent, just after it. This is the escape hatch for a
container that would otherwise trap the cursor at the end of the document.
Two kinds of container are handled. A callout or card sits among ordinary
blocks, so the block is left right after it. A column or a content slot
(toggle body, tab panel, accordion body) is a fixed part of a larger block
whose parent only accepts that structure, columnBlock takes column+,
tabItem takes tabTitle tabContent, so the block leaves past the whole
layout, toggle, tabs block or accordion instead, and never empties the slot,
which must keep one block.
Move the block holding the selection out of its container and into the container's own parent, just after it. This is the escape hatch for a container that would otherwise trap the cursor at the end of the document.
Two kinds of container are handled. A callout or card sits among ordinary blocks, so the block is left right after it. A column or a content slot (toggle body, tab panel, accordion body) is a fixed part of a larger block whose parent only accepts that structure,
columnBlocktakescolumn+,tabItemtakestabTitle tabContent, so the block leaves past the whole layout, toggle, tabs block or accordion instead, and never empties the slot, which must keep one block.