WIP
This commit is contained in:
parent
532151b939
commit
62abd3ff03
4 changed files with 85 additions and 4 deletions
|
@ -56,9 +56,18 @@ export function InitActions(
|
|||
menuActions.set(
|
||||
'elements-sidebar-row',
|
||||
[{
|
||||
text: Text({ textId: '@ReplaceByContainer' }),
|
||||
title: Text({ textId: '@ReplaceByContainerTitle' }),
|
||||
shortcut: '<kbd>R</kbd>',
|
||||
action: (target: HTMLElement) => {
|
||||
const id = target.id;
|
||||
console.log('replace');
|
||||
}
|
||||
}, {
|
||||
text: Text({ textId: '@DeleteContainer' }),
|
||||
title: Text({ textId: '@DeleteContainerTitle' }),
|
||||
shortcut: '<kbd>Suppr</kbd>',
|
||||
|
||||
action: (target: HTMLElement) => {
|
||||
const id = target.id;
|
||||
const newHistory = DeleteContainer(
|
||||
|
@ -68,7 +77,8 @@ export function InitActions(
|
|||
);
|
||||
setNewHistory(newHistory);
|
||||
}
|
||||
}]
|
||||
}
|
||||
]
|
||||
);
|
||||
|
||||
menuActions.set(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue