Skip to content

eo-typewriterjs


eo-typewriterjs / TUnstyleCommand

Type Alias: TUnstyleCommand ​

ts
type TUnstyleCommand = TBaseCommand & object;

Defined in: core/commands/types/unstyle-command.type.ts:15

Type Declaration ​

NameTypeDefined in
kindtypeof UNSTYLEcore/commands/types/unstyle-command.type.ts:16
cursorTCursorSelectorcore/commands/types/unstyle-command.type.ts:17
rangeTStyleRange | "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.

Released under the MIT License.