1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <title>Editor Test2</title>
6 <style type="text/css">
7 @import "../../../dojo/resources/dojo.css";
8 @import "../css/dijitTests.css";
10 <script type="text/javascript" src="../../../dojo/dojo.js"
11 djConfig="parseOnLoad: true, isDebug: true"></script>
12 <script type="text/javascript" src="../_testCommon.js"></script>
14 <script type="text/javascript">
15 dojo.require("dijit.Editor");
16 dojo.require("dijit._editor.plugins.ToggleDir");
17 dojo.require("dojo.parser"); // scan page for widgets and instantiate them
20 <script type="text/javascript" src="../../_editor/plugins/ToggleDir.js"></script>
21 <script type="text/javascript" src="../../Editor.js"></script>
22 <script type="text/javascript" src="../../_editor/_Plugin.js"></script>
26 <div style="border: 1px dotted black;">
27 <textarea dojoType="dijit.Editor"
28 extraPlugins="['toggleDir','|','dijit._editor.plugins.ToggleDir','|',{name:'dijit._editor.plugins.ToggleDir'}]">
30 <li>the toggleDir plugin provides an extra button on the toolbar to switch text direction (BiDi) of the
31 edited document. Useful when right-to-left languages like Hebrew and Arabic are combined with
32 left-to-right languages like English.</li>