Closed
Description
Description
When typing ```js to bring up a SyntaxHighlighter Code block, it creates the block, but the language is set to empty. Clicking on the language setting makes the block crash. I would expect it to create the SyntaxHighlighter Code block with the JavaScript language selected.
Step-by-step reproduction instructions
- Open up the editor
- Type: ```js and hit enter
- See that the SyntaxHighlighter Code block has been added, but where the language setting should be, there is nothing.
- Click on where the language setting should be and the block will crash with a
This block has encountered an error and cannot be previewed.
error.
Screenshots, screen recording, code snippet
Screen.Recording.2022-06-09.at.13.08.09.mov
Environment info
Wordpress 6.0, Gutenberg not installed, P2 theme
Mac OS
Chrome v101
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Assignees
Labels
No labels