<html>
<head>
<title>Editor Tests</title>
<style>
#editor {
height: 400px;
width: 400px;
margin: 2em;
border: 1px solid black;
}
#log {
position: absolute;
right: 5px;
width: 300px;
}
</style>
</head>
<body class="yui3-skin-sam">
<div id="log"></div>
<div id="editor"></div>
<script type="text/javascript">
var YUI_config = {
gconfig: true,
filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min'
};
YUI({
modules: {
'editor-tests': {
fullpath: '/editor.js',
requires: [ 'test', 'editor-base', 'editor-para', 'editor-br', 'editor-bidi', 'node-event-simulate' ]
}
}
}).use('editor-tests', 'test-console', 'test', function(Y) {
new Y.Test.Console().render('#log');
});
</script>
</body>
</html>