Heading: Uncaught TypeError when pressing Enter #3867
Labels
[Feature] Blocks
Overall functionality of blocks
[Feature] Writing Flow
Block selection, navigation, splitting, merging, deletion...
Issue Overview
When pressing Enter in a Heading block, either at the end of the editable field or anywhere before that, an uncaught TypeError is thrown, though seemingly no user-facing breakage occurs.
Steps to Reproduce (for bugs)
## This is a heading
, which should convert to a H2-level Heading.Expected Behavior
Nothing should happen aside from a new Paragraph appearing and the cursor (and focus) moving to it.
Current Behavior
On the top of the expected behavior, a logged TypeError appears in the console.
Possible Solution
A quick glance at the stack trace and some reading of
blocks/editable/index.js
make me wonder if this is caused by an interaction in/with TinyMCE. Perhaps @ephox-mogran knows.Screenshots / Video
Todos
The text was updated successfully, but these errors were encountered: