Debian Codegraph @

dijit/tests/editor/test_TabIndent.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5 <title>Editor TabIndent Plugin Test</title>
6
7 <script type="text/javascript" src="../boilerplate.js"></script>
8
9 <script type="text/javascript">
10 require([
11 "dojo/parser",
12 "dijit/Editor",
13 "dijit/_editor/plugins/TabIndent",
14 "dojo/domReady!"
15 ], function(parser){
16 parser.parse();
17 });
18 </script>
19 </head>
20 <body class="claro" role="main">
21 <p>Paragraph with focusable <span tabindex="0" style="color:blue">item </span>before editor. </p>
22 <label>Test TabIndent Plugin</label>
23 <div style="border: 1px dotted black;">
24
25 <div id="tiTest" data-dojo-type="dijit/Editor"
26 data-dojo-props='"aria-label":"tiTest",extraPlugins:["tabIndent"]'>
27 <div>
28 <ol>
29 <li>the tabIndent plugin allows the use of the tab and shift-tab keys to
30 indent list items.</li>
31 <li>another list element</li>
32 <li>and another</li>
33 <li>still one more</li>
34 </ol>
35 </div>
36 <p>
37 Ctrl-M also turns tab indent on/off.
38 (The buttons should change checked status when the user types
39 Ctrl-M, to indicate whether tab and shift-tab is enabled.)
40 </p>
41 </div>
42 </div>
43 <p>Paragraph with focusable <span tabindex="0" style="color:blue">item </span>after editor. </p>
44 </body>
45 </html>