--- qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/editing/commands/insert_paragraph_separator_command.cc.orig	2021-12-18 10:03:15.000000000 -0500
+++ qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/editing/commands/insert_paragraph_separator_command.cc	2021-12-18 10:04:06.000000000 -0500
@@ -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(
