editor.html revision 6a6a6d5448f8c49592581707a20e891abe577bfa
<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,
gfilter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min'
};
YUI({
allowRollup: false,
logExclude: {Dom: true, Selector: true, Node: true, attribute: true, base: true, event: true, widget: true },
filter: YUI_config.gfilter,
modules: {
'editor-tests': {
fullpath: '/editor.js',
requires: [ 'test', 'editor-base', 'editor-para', 'editor-br', 'editor-bidi', 'node-event-simulate' ]
},
'test-console': {
requires : ['console-filters'],
skinnable: true
},
'skin-sam-test-console': {
type : 'css'
}
}
}).use('editor-tests', 'test-console', 'test', function(Y) {
});
</script>
</body>
</html>