R
I

CommandView

tested

Minimal view surface a command may use to move real DOM focus across blocks. The Vue `EditorContext` is structurally compatible; pure logic/tests can pass a stub. Keeps the command layer free of any Vue/DOM dependency.

Signature

ts
interface CommandView

Properties

PropertyTypeDescription
focusBlock(blockId: string, offset: number | "start" | "end") => void