mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
34 lines
568 B
Plaintext
34 lines
568 B
Plaintext
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>VisualEditor Examples</title>
|
||
|
|
||
|
<!-- STYLES -->
|
||
|
|
||
|
<script>
|
||
|
function loadInlineExample( code, options, callback ) {
|
||
|
try {
|
||
|
eval( code );
|
||
|
callback && callback( true );
|
||
|
} catch (e) {
|
||
|
document.body.appendChild( document.createTextNode( e ) );
|
||
|
callback && callback( false, e );
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<style>
|
||
|
body {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
overflow-y: scroll;
|
||
|
background: #fff;
|
||
|
font: normal 1em/1.5 sans-serif;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<!-- SCRIPTS -->
|
||
|
</body>
|
||
|
</html>
|