feat: add embeds to command palette
This commit is contained in:
parent
20dae101e9
commit
46c12a9f8c
@ -11,6 +11,7 @@ export const actionSetEmbeddableAsActiveTool = register({
|
||||
trackEvent: { category: "toolbar" },
|
||||
target: "Tool",
|
||||
label: "toolBar.embeddable",
|
||||
keywords: ["embeddable", "embed", "iframe"],
|
||||
perform: (elements, appState, _, app) => {
|
||||
const nextActiveTool = updateActiveTool(appState, {
|
||||
type: "embeddable",
|
||||
|
@ -319,6 +319,7 @@ function CommandPaletteInner({
|
||||
actionManager.actions.toggleHandTool,
|
||||
actionManager.actions.setFrameAsActiveTool,
|
||||
actionManager.actions.toggleLassoTool,
|
||||
actionManager.actions.setEmbeddableAsActiveTool,
|
||||
].map((action) => actionToCommand(action, DEFAULT_CATEGORIES.tools));
|
||||
|
||||
const editorCommands: CommandPaletteItem[] = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user