eo-typewriterjs / TUnstyleCommand
Type Alias: TUnstyleCommand
ts
type TUnstyleCommand = TBaseCommand & object;Defined in: core/commands/types/unstyle-command.type.ts:15
Type Declaration
| Name | Type | Defined in |
|---|---|---|
kind | typeof UNSTYLE | core/commands/types/unstyle-command.type.ts:16 |
cursor | TCursorSelector | core/commands/types/unstyle-command.type.ts:17 |
range | TStyleRange | "selection" | core/commands/types/unstyle-command.type.ts:18 |
Description
A command that removes all styles that overlap a given document range. The range may be specified as absolute document indices via range, or as "selection" to use each targeted cursor's active selection. Styles that partially overlap the range are clipped rather than fully removed.