X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=afa4d7262c97a84e3d7ae04bd3bc66185306906d;hb=848a7d125ce535e50afbba079d7d22f25f909b36;hp=4c890a248c6f1e453b04fa7f3f88c19feb34af00;hpb=f02c43a1be294c25d1e034e171803bddc0f49ed5;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 4c890a248c..afa4d7262c 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -23596,7 +23596,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { // this trigger toggle. this.setText(v ? "Hide Caption" : "Show Caption"); - this.setPressed(v); + this.setPressed(!v); }, listeners : { toggle: function (btn, state) @@ -25636,7 +25636,7 @@ 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'], + attrib_white : ['href', 'src', 'name', 'align', 'colspan', 'rowspan', 'data-display'], attrib_clean : ['href', 'src' ] }); new Roo.htmleditor.FilterBlack({ node : d, tag : this.black});