diff --git a/src/dom-utils.js b/src/dom-utils.js index b61068f..81278c2 100644 --- a/src/dom-utils.js +++ b/src/dom-utils.js @@ -136,6 +136,7 @@ export function wrapTextNodes(block) { 'UL', 'OL', 'PICTURE', 'TABLE', + 'BLOCKQUOTE', 'H1', 'H2', 'H3', 'H4', 'H5', 'H6', ]; diff --git a/test/dom-utils/wrapTextNodes.test.html b/test/dom-utils/wrapTextNodes.test.html index b51b64f..252b429 100644 --- a/test/dom-utils/wrapTextNodes.test.html +++ b/test/dom-utils/wrapTextNodes.test.html @@ -110,6 +110,16 @@

headings of all levels will not be wrapped

+
+
+
a blockquote will not be wrapped
+
+
+
+
+
a blockquote will not be wrapped
+
+