fn
addMark
testedAdd a mark across the current (same-block) range.
Signature
ts
export function addMark(type: string, attrs?: Attrs): Command{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
type | string | — |
attrs? | Readonly<Record<string, import("..").AttrValue>> | undefined | — |
Returns
Command