Rich text / foldkit-richtext-dom/editor-bundle

EditorPlacement

type · packages/richtext-dom/src/editor-bundle.ts:830

type EditorPlacement = PlacementOptions & EditorName

A placement, with at most one way to name the editor for assistive technology: label, written as aria-label on the editable root, or labelledBy, the id of the element that names it, written as aria-labelledby. Passing both is a type error. Without either, an editor drawn in a labelled group (a form's control) takes the group's label.