editor.js revision fc2d50365b169f761de7a15d7a4fe406b33fd403
YUI({
base: '../../../build/',
//filter: 'DEBUG',
filter: 'RAW',
logExclude: {
'YUI': true,
Event: true,
Base: true,
Attribute: true,
augment: true,
useConsole: true
}
width: '375px'
}).render();
var template = {
name: 'Editor Tests',
setUp : function() {
},
tearDown : function() {
},
test_load: function() {
},
test_frame: function() {
var iframeReady = false,
container: '#editor',
designMode: true,
content: 'This is a test.',
});
iframeReady = true;
});
this.wait(function() {
iframe = null;
}, 1500);
},
test_editor: function() {
var iframeReady = false,
editor = new Y.EditorBase({
content: 'Hello <b>World</b>!!',
extracss: 'b { color: red; }'
});
iframeReady = true;
});
});
this.wait(function() {
Y.Assert.areSame(Y.EditorBase.FILTER_RGB(inst.one('b').getStyle('color')), '#ff0000', 'Extra CSS Failed');
}, 1500);
}
};
});