Roo/HtmlEditorCore.js
authorAlan Knowles <alan@roojs.com>
Thu, 16 Aug 2018 09:52:08 +0000 (17:52 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 16 Aug 2018 09:52:08 +0000 (17:52 +0800)
Roo/HtmlEditorCore.js

index d021ebc..9ff3b0e 100644 (file)
@@ -1055,7 +1055,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
             if (v.match(/^\./) || v.match(/^\//)) {
                 return;
             }
-            if (v.match(/^(http|https):\/\//) || v.match(/^mailto:/)) {
+            if (v.match(/^(http|https):\/\//) || v.match(/^mailto:/) || v.match(/^ftp:/)) {
                 return;
             }
             if (v.match(/^#/)) {