Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import * as Blockly from 'blockly/core';
import {NavigationController} from './navigation_controller';
import {enableBlocksOnDrag} from './disabled_blocks';
import {registerHtmlToast} from './html_toast';
import {registerFlyoutCursor} from './flyout_cursor';

/** Plugin for keyboard navigation. */
export class KeyboardNavigation {
Expand Down Expand Up @@ -139,6 +140,14 @@ export class KeyboardNavigation {
this.navigationController.shortcutDialog.toggle(this.workspace);
}

/**
* Registers a specific flyout cursor that allows navigation to
* flyout labels and buttons.
*/
static registerFlyoutCursor() {
registerFlyoutCursor();
}

/**
* Registers a default toolbox implementation that doesn't handle
* keydown events, since we now handle them in this plugin. If you
Expand Down
Loading