Custom HTML block: "An unknown error occurred." (2.3.0)
Issue Overview
Is it my WP installation that plays havoc with the Custom HTML block under version 2.3.0 of Gutenberg?
In essence, it's impossible to use Custom HTML blocks in the Visual Editor — these blocks showing message "An unknown error occurred."
Under same setup, Custom HTML blocks were OK up to version 2.2.0
Guess this is related to new syntax highlighting (Code mirror) in Custom HTML blocks...
Steps to Reproduce (for bugs)
- Create a new post
- Verify that the Visual Editor is active
- Insert a block of type Custom HTML
Tested with WP version 4.9.4 and Safari (11.0.3) and Chrome (64.0.3282.186)
Everything else in Gutenberg works ok.
Expected Behavior
Should be able to edit the block contents, obviously...
Current Behavior
Message "An unknown error occurred." stops any interaction.
Possible Solution
Judging by error log shown by the Chrome inspector, some dependencies are not loaded correctly.
Same problem is noted on hosted site and on localhost.
Screenshots / Video
I tried to maximize information in this screenshot:

Related Issues and/or PRs
Don't know how this problem could be related to issue #5374.
As additional information...
Firefox (58.0.2) offers maybe a more succinct and useful view of the problem I raised a few days ago:

The following message which appears in yellow in the screenshot essentially says in English: "Failed to load the