projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b94db9
)
Roo/HtmlEditorCore.js
author
Alan
<alan@roojs.com>
Wed, 6 Oct 2021 03:40:45 +0000
(11:40 +0800)
committer
Alan
<alan@roojs.com>
Wed, 6 Oct 2021 03:40:45 +0000
(11:40 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
af48368
..
e3bdc58
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-528,7
+528,10
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
var d = document.createElement('div');
d.innerHTML = txt;
new Roo.htmleditor.FilterStyleToTag({ node : d });
- new Roo.htmleditor.FilterAttributes({ node : d });
+ new Roo.htmleditor.FilterAttributes({
+ node : d,
+ attrib_white : ['href'],
+ });
this.insertAtCursor(d.innerHTML);