if (this.enableBlocks) {
+ // Array.from(bd.getElementsByTagName('img')).forEach(function(img) {
+ // var fig = img.closest('figure');
+ // if (fig) {
+ // var bf = new Roo.htmleditor.BlockFigure({
+ // node : fig
+ // });
+ // bf.updateElement();
+ // }
+
+ // });
new Roo.htmleditor.FilterBlock({ node : div });
}
'name',
'align',
'colspan',
- 'rowspan',
- 'data-display',
+ 'rowspan'
+ /* THESE ARE NOT ALLWOED FOR PASTE
+ * 'data-display',
'data-caption-display',
'data-width',
'data-caption',
'width',
'height',
'alt'
+ */
],
attrib_clean : ['href', 'src' ]
});
// should be fonts..
new Roo.htmleditor.FilterKeepChildren({node : d, tag : [ 'FONT', ':' ]} );
new Roo.htmleditor.FilterParagraph({ node : d });
+ new Roo.htmleditor.FilterHashLink({node : d});
new Roo.htmleditor.FilterSpan({ node : d });
new Roo.htmleditor.FilterLongBr({ node : d });
new Roo.htmleditor.FilterComment({ node : d });