diff --git a/packages/blocks/src/api/raw-handling/index.js b/packages/blocks/src/api/raw-handling/index.js index 475453ca61aabf..2d1094023ada1d 100644 --- a/packages/blocks/src/api/raw-handling/index.js +++ b/packages/blocks/src/api/raw-handling/index.js @@ -38,7 +38,13 @@ export function deprecatedGetPhrasingContentSchema( context ) { export function rawHandler( { HTML = '' } ) { // If we detect block delimiters, parse entirely as blocks. if ( HTML.indexOf( ' + +
  • Content we need to preserve
  • + diff --git a/test/integration/fixtures/documents/mixed-content-out.html b/test/integration/fixtures/documents/mixed-content-out.html new file mode 100644 index 00000000000000..9c317a3b8edbf2 --- /dev/null +++ b/test/integration/fixtures/documents/mixed-content-out.html @@ -0,0 +1,3 @@ + +

    Some heading

    + \ No newline at end of file