var b = typeof(this.owner.black) != 'undefined' && this.owner.black ? this.owner.black : [];
this.white = [];
+ this.black = [];
Roo.each(Roo.HtmlEditorCore.white, function(tag) {
if (b.indexOf(tag) > -1) {
return;
}
this.white.push(tag);
- }, this);
+ }, this);
+
+
+ Roo.each(Roo.HtmlEditorCore.black, function(tag) {
+ if (w.indexOf(tag) > -1) {
+ return;
+ }
+ this.black.push(tag);
+
+ }, this);
+
+ Roo.each(w, function(tag) {
+ if (b.indexOf(tag) > -1) {
+ return;
+ }
+ if (this.white.indexOf(tag) > -1) {
+ return;
+ }
+ this.white.push(tag);
+
+ }, this);