X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;h=f62a8e52e02422c348cecb9cfac60e9d75ba41b0;hp=07f94148fe3d84167a2a6381177632ac55d590d6;hb=d4a05789ab4b83c2392d81717e410d465904c4d8;hpb=2dbdb47a5612fd67ee2b51fe3638c500db230944 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 07f94148fe..f62a8e52e0 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -24191,7 +24191,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { // read caption from data-caption in figure if no caption from figcaption var dc = this.getVal(node, true, 'data-caption'); - if(this.caption_display == 'none' && this.caption == '' && dc && dc.length){ + if(this.caption_display == 'none' && dc && dc.length){ this.caption = dc; } @@ -25860,6 +25860,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { 'align', 'colspan', 'rowspan', + 'data-display', 'data-caption-display', 'data-width', 'data-caption', @@ -26159,7 +26160,27 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { new Roo.htmleditor.FilterStyleToTag({ node : d }); new Roo.htmleditor.FilterAttributes({ node : d, - attrib_white : ['href', 'src', 'name', 'align', 'colspan', 'rowspan', 'data-display', 'data-width', 'start'], + attrib_white : [ + 'href', + 'src', + 'name', + 'align', + 'colspan', + 'rowspan', + 'data-display', + 'data-caption-display', + 'data-width', + 'data-caption', + 'start' , + 'style', + // youtube embed. + 'class', + 'allowfullscreen', + 'frameborder', + 'width', + 'height', + 'alt' + ], attrib_clean : ['href', 'src' ] }); new Roo.htmleditor.FilterBlack({ node : d, tag : this.black});