← All packages

@searsuite/sear-plugin-clear-style

Owner-composed Sheet format clearing without content deletion.

classSheetClearStylePlugin
class SheetClearStylePlugin extends Plugin<unknown, CellProperties, null>

Composes owner-defined format clearing; owns no persisted document or session state.

constructorSheetClearStylePlugin(options: SheetClearStyleOptions): SheetClearStylePlugin
propertyreadonly warnOnDuplicateDepth: false

Whether PluginManager should warn when another ordered plugin shares this depth.

propertyreadonly symbol: typeof symbolstatic
methodapply(): null

Applies a transaction to plugin-owned state and returns the next state.

methodgetPluginConfig(): null

Returns this plugin's runtime configuration view for the current core.

methodregisterCommands(commands: SheetCommandBus): void
methodregisterState(): { dataEngine: { enabled: boolean }; key: PluginKey; state: null }

Registers one or more plugin-owned state records with the host manager.

methodrender(): null

Produces scene nodes owned by this plugin for the current core state.

Inherited members 29

Inherited from Plugin.

interfaceSheetClearStyleOptions

Editor-local dependencies provided by the owning composition root.

variableClearRangeStylesCommand
ClearRangeStylesCommand: SheetCommandDefinition<ClearRangeStylesInput, SheetCommandResult>

Clears explicit formatting from one or more selections, preserving cell data.