blockly-samples
blockly-samples copied to clipboard
remove references to `Blockly.FieldColour` from keyboard-navigation
Check for duplicates
- [X] I have searched for similar issues before opening a new one.
Component
keyboard-navigation
Description
The keyboard navigation attempts to patch Blockly.FieldColour
. That field no longer exists, so even referencing it causes webpack warnings.
To fix
- In
navigation_controller.ts
, remove the lines that attempt to add or remove theonShortcut
handler toBlockly.FieldColour
. - In the same file, remove the now-unused
fieldColourHandler
function.
If you'd like to work on this issue see also our contributing docs and comment here saying that you'd like to work on this.
Reproduction steps
- Run
npm run build
inplugins/keyboard-navigation
- Notice warnings about how
Blockly.FieldColour
doesn't exist
Stack trace
No response
Screenshots
No response