projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix html editor sync - allow attributes for youtube embed
[roojs1]
/
Roo
/
HtmlEditorCore.js
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
a571026
..
149bd00
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-385,7
+385,25
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
new Roo.htmleditor.FilterAttributes({
node : div,
new Roo.htmleditor.FilterAttributes({
node : div,
- attrib_white : ['href', 'src', 'name', 'align', 'colspan', 'rowspan', 'data-display', 'data-width', 'start' , 'style'],
+ attrib_white : [
+ 'href',
+ 'src',
+ 'name',
+ 'align',
+ 'colspan',
+ 'rowspan',
+ 'data-display',
+ 'data-width',
+ 'start' ,
+ 'style',
+ // youtube embed.
+ 'class',
+ 'allowfullscreen',
+ 'frameborder',
+ 'width',
+ 'height',
+ 'alt'
+ ],
attrib_clean : ['href', 'src' ]
});
attrib_clean : ['href', 'src' ]
});