Rich text / foldkit-richtext

RunOptions

interface · packages/richtext/src/command.ts:213

interface RunOptions {
  readonly marks?: MarkRegistry | undefined
  readonly nodes?: NodeRegistry | undefined
}

What a command needs beyond state and identity, such as a Kit's mark policy.

Members

RunOptions.marks

property · packages/richtext/src/command.ts:214

readonly marks?: MarkRegistry | undefined

RunOptions.nodes

property · packages/richtext/src/command.ts:216

readonly nodes?: NodeRegistry | undefined

The node vocabulary, so an edit a constraint forbids is refused here (§125).