add v: which has been used to embed images in content.
authorAlan Knowles <alan@roojs.com>
Thu, 21 Nov 2019 06:45:04 +0000 (14:45 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Nov 2019 06:45:04 +0000 (14:45 +0800)
Roo/HtmlEditorCore.js

index c99e460..0ba8b64 100644 (file)
@@ -1229,7 +1229,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
         }
         
         // remove - but keep children..
-        if (node.tagName.toLowerCase().match(/^(meta|link|\\?xml:|st1:|o:|font)/)) {
+        if (node.tagName.toLowerCase().match(/^(meta|link|\\?xml:|st1:|o:|v:|font)/)) {
             while (node.childNodes.length) {
                 var cn = node.childNodes[0];
                 node.removeChild(cn);