Open
Description
Expected
Adding text in front of the horizontal separator in a GB separator block should not break the GB editing experience (This block appears to have been modified externally.
placeholder).
Observed
Adding text in front of the horizontal separator in a GB separator block causes the This block appears to have been modified externally.
placeholder to appear in GB, breaking the editing flow.
Reproduced
- Load the following html snippet in html mode:
<!-- wp:separator -->
<hr class="wp-block-separator" />
<!-- /wp:separator -->
- Switch to visual mode and place the cursor at the beginning of the horizontal separator
- Insert one or more characters
- Switch to html mode and notice that the character(s) entered are inbetween the starting GB comment and the
<hr>
element. That is not valid for GB and causes the "modified externally" placeholder to appear.
Tested
Nexus 5X on Android v7.1.2, Aztec v1.3.6