Skip to content

PluginCommands

refresh(): void;

Reads every command’s enabled and visible again, after something they depend on changed outside the editor.

void


register(command): () => void;

Adds a command; returns a function that removes it.

Parameter Type
command Command

() => void