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
| Function | Signature | Description |
|---|---|---|
| show | show(): void | Shows the tools panel at the current selection position. |
| hide | hide(): void | Hides the tools panel. |
| syncHighlight | syncHighlight(): void | Synchronizes the active state highlighting for tools based on the current selection. |
| getTools | getTools(): ToolModel[] | Returns an array of all registered tools. |
| getModelByTagName | getModelByTagName(tagName: string): ToolModel | null | Returns a tool model by its unique string tag. |
| destroy | destroy(): void | Destroys the tools manager and clears resources. |