Function: Format()
July 19, 2026 ยท View on GitHub
Function: Format()
Format<
T,N,K>(editor,key,value,range?):void
Defined in: commands.ts:85
Format content in the selection or specified range.
Type Parameters
T
T extends DocNode
N
N extends Omit<InferTextNode<T>, "text">
K
K extends string
Parameters
editor
Editor<T>
key
K
value
N[K]
range?
Range = ...
Returns
void