NOTE: The foundation is layed - but the actual DELETE key functionality is disabled until we resolve the problem mentioned in linked ticket: http://jira.magnolia-cms.com/browse/MGNLUI-2106
Use the same technique as the ENTER key handling.
- WorkbenchViewImpl adds a vaadin DELETE key shortcut handler.
- The AbstractContentPresenter fires ItemShortcutKeyEvent event on eventBus.
- BrowserPresenter handles event, and calls executeDeleteAction().
Ive checked:
Pages
Contacts
Problem in Assets as there is a different command for deleting an asset and for deleting an assetfolder. So it would not really work here. Or id have to create an action that can handle both.
markAssetFolderAsDeleted - works on Assets and on Folders - so we could just have this one action - if its ok to have the same text.
*****
For now implement on Configuration App only.
Created linked ticket for setting up for the other apps as well.
- relates to
-
MGNLUI-2107 Implement DELETE shortcut on all apps - bootstraps & version handlers.
- Closed
-
MGNLUI-2106 Pressing DELETE key while using inplace editing should not trigger the DELETE action.
- Closed