This commit is contained in:
Éric Lemoine
2013-02-20 10:38:25 +01:00
parent 17c3936ab6
commit 5d14b9e2d4
1919 changed files with 559755 additions and 2588 deletions

View File

@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Editor Test: ToggleDir Plugin</title>
<style type="text/css">
@import "../../themes/claro/document.css";
@import "../css/dijitTests.css";
</style>
<script type="text/javascript" src="../../../dojo/dojo.js"
data-dojo-config="parseOnLoad: true, isDebug: true"></script>
<!-- required: a default dijit theme: -->
<link id="themeStyles" rel="stylesheet" href="../../../dijit/themes/claro/claro.css"/>
<script type="text/javascript" src="../_testCommon.js"></script>
<script type="text/javascript">
dojo.require("dijit.dijit"); // optimize: load dijit layer
dojo.require("dijit.Editor");
dojo.require("dijit._editor.plugins.ToggleDir");
dojo.require("dijit._editor.plugins.TabIndent");
dojo.require("dojo.parser"); // scan page for widgets and instantiate them
</script>
</head>
<body class="claro">
<div style="border: 1px dotted black;">
<div id="ed0" data-dojo-type="dijit.Editor" data-dojo-props='extraPlugins:["dijit._editor.plugins.ToggleDir"]'>
<ol><li>the toggleDir plugin provides an extra button to switch text direction (BiDi). Useful when right-to-left
languages are used with left-to-right languages.</li></ol>
</div>
</div>
</body>
</html>