--- qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/editing/commands/insert_paragraph_separator_command.cc.orig	2023-04-13 15:18:14.000000000 -0400
+++ qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/editing/commands/insert_paragraph_separator_command.cc	2023-04-13 15:21:19.000000000 -0400
@@ -114,7 +114,8 @@
       original_enclosing_block->HasTagName(html_names::kH2Tag) ||
       original_enclosing_block->HasTagName(html_names::kH3Tag) ||
       original_enclosing_block->HasTagName(html_names::kH4Tag) ||
-      original_enclosing_block->HasTagName(html_names::kH5Tag)) {
+      original_enclosing_block->HasTagName(html_names::kH5Tag) ||
+      original_enclosing_block->HasTagName(html_names::kH6Tag)) {
     return;
   }
 
@@ -141,7 +142,8 @@
          enclosing_block->HasTagName(html_names::kH2Tag) ||
          enclosing_block->HasTagName(html_names::kH3Tag) ||
          enclosing_block->HasTagName(html_names::kH4Tag) ||
-         enclosing_block->HasTagName(html_names::kH5Tag);
+         enclosing_block->HasTagName(html_names::kH5Tag) ||
+         enclosing_block->HasTagName(html_names::kH6Tag);
 }
 
 void InsertParagraphSeparatorCommand::GetAncestorsInsideBlock(
