Skip to content

Block Tools Manager

A class for managing block tools in the editor. Typically used only internally within the application or when developing custom extensions.

Tools Methods

FunctionSignatureDescription
showshow(): voidShows the tools panel at the current selection position.
hidehide(): voidHides the tools panel.
syncHighlightsyncHighlight(): voidSynchronizes the active state highlighting for tools based on the current selection.
getToolsgetTools(): ToolModel[]Returns an array of all registered tools.
getModelByTagNamegetModelByTagName(tagName: string): ToolModel | nullReturns a tool model by its unique string tag.
destroydestroy(): voidDestroys the tools manager and clears resources.

dev@priveted.com | priveted.com