diff --git a/src/core/view/components/editor/index.vue b/src/core/view/components/editor/index.vue index 1ab5389253bcba62001c82a31200b4e5106de270..184e426313bac56eed43e444217712c06ae3e371 100644 --- a/src/core/view/components/editor/index.vue +++ b/src/core/view/components/editor/index.vue @@ -301,7 +301,7 @@ export default { } }, html2delta (html) { - const tags = ['span', 'strong', 'b', 'ins', 'em', 'i', 'u', 'a', 'del', 's', 'sub', 'sup', 'img', 'div', 'p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'ol', 'ul', 'li'] + const tags = ['span', 'strong', 'b', 'ins', 'em', 'i', 'u', 'a', 'del', 's', 'sub', 'sup', 'img', 'div', 'p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'ol', 'ul', 'li', 'br'] let content = '' let disable HTMLParser(html, {