Skip to main content

Keyboard Shortcuts

Keyboard shortcuts are a great way to increase the productivity of the users. Currently the Sequential Workflow Designer supports the following keyboard shortcuts:

ShortcutActionKeys
Delete selected stepdeleteDelete, Backspace

By default the keyboard shortcuts are enabled. To disable them you need to set the keyboard property to false in the configuration object.

const configuration = {
keyboard: false,
// ...
};
const designer = Designer.create(placeholder, definition, configuration);

If you have on the page more components that use keyboard shortcuts you can filter the keyboard events handled by the Sequential Workflow Designer.

const configuration = {
keyboard: {
canHandleKey: (action: string, event: KeyboardEvent) => {
if (...) {
return false; // Stop handling the event
}
return true;
}
},
// ...
};