diff --git a/blocks/components/editable/index.js b/blocks/components/editable/index.js index 3fa4cbd8cfe718..139d7a481ccbc8 100644 --- a/blocks/components/editable/index.js +++ b/blocks/components/editable/index.js @@ -78,8 +78,7 @@ export default class Editable extends wp.element.Component { // Avoid splitting on single enter if ( ! lastNodeBeforeCursor || - lastNodeBeforeCursor.childNodes.length !== 1 || - lastNodeBeforeCursor.firstChild.tagName !== 'BR' + !! lastNodeBeforeCursor.textContent ) { return; }