@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.
constructor SheetClearStylePlugin(options: SheetClearStyleOptions): SheetClearStylePluginproperty readonly warnOnDuplicateDepth: falseWhether PluginManager should warn when another ordered plugin shares this depth.
property readonly symbol: typeof symbolstaticmethod apply(): nullApplies a transaction to plugin-owned state and returns the next state.
method getPluginConfig(): nullReturns this plugin's runtime configuration view for the current core.
method registerCommands(commands: SheetCommandBus): voidmethod registerState(): { dataEngine: { enabled: boolean }; key: PluginKey; state: null }Registers one or more plugin-owned state records with the host manager.
method render(): nullProduces scene nodes owned by this plugin for the current core state.
Inherited members 29
Inherited from Plugin.
- depth
- documentState
- interestedIn
- pluginKey
- transactionHistory
- transactionOT
- key
- dirtyRect
- enforceRuntimeWriteBoundary
- enforceStateWriteBoundary
- getState
- hasStateWriteBoundary
- lockCommittedState
- onClick
- onDblClick
- onInitialDataCell
- onInitialDataComplete
- onMouseDown
- onMouseMove
- onMouseUp
- onResize
- onScroll
- onTransactionCommitted
- projectTransaction
- registerConfig
- sealRuntimeMetadata
- sealRuntimeMethods
- sealRuntimeWrites
- setState
- 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.
No matching API entries.