BUG: JS error when press "s" or "w" key - Cannot read properties of undefined (reading 'indexOf')
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Chrome Version 94.0.4606.81 (Official Build) (64-bit)
Reproducible demo link
Describe the bug
How to reproduce the bug?
- Select body element
- Press "s" or "w" key
What is the expected behavior? Should not throw an error in the console
What is the current behavior? Throws error in console:
ComponentNext.js?87ea:8 Uncaught TypeError: Cannot read properties of undefined (reading 'indexOf')
at eval (ComponentNext.js?87ea:8)
at Array.forEach (<anonymous>)
at child.run (ComponentNext.js?87ea:6)
at child.callRun (CommandAbstract.js?8031:90)
at Object.runCommand (index.js?e807:388)
at Object.eval [as method] (index.js?30cb:157)
at dispatch (keymaster.js?a202:143)
at HTMLDocument.eval (keymaster.js?a202:330)
at HTMLDocument.eval (FrameView.js?2616:441)
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3866
BUG: SVG Not rendering when inside any HTML Element
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Version 94.0.4606.81 (Official Build) (64-bi...
Issue #6705
BUG: TypeError: Cannot read properties of undefined (reading 'toLowerCase') in keyboard handler
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? All browsers (Chrome, Safari, Firefox, Edg...
Issue #4440
BUG: Extending text component breaks textable blocks
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Version 102.0.5005.115 (Official Build) (64-...
Issue #4362
BUG: Background image preview show error link
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 102.0.5005.61 Reproducible...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.