Debian Codegraph @

dojox/editor/tests/editorSpellCheck.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <meta http-equiv= "Content-Type" content= "text/html;charset=utf-8">
6 <title>Editor Test: Spell Check Plugin</title>
7
8 <style type="text/css">
9 @import "../../../dojo/resources/dojo.css";
10 @import "../../../dijit/tests/css/dijitTests.css";
11 @import "../../../dijit/themes/claro/claro.css";
12 @import "../plugins/resources/css/ShowBlockNodes.css";
13 @import "../plugins/resources/css/SpellCheck.css";
14 </style>
15
16 <script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="parseOnLoad: true, isDebug: true"></script>
17
18 <!-- only needed for alternate theme testing: -->
19 <script type="text/javascript" src="../../../dijit/tests/_testCommon.js"></script>
20
21 <script type="text/javascript">
22 dojo.require("dijit.Editor");
23 dojo.require("dojo.parser"); // scan page for widgets and instantiate them
24 dojo.require("dojox.editor.plugins.SpellCheck");
25 dojo.require("dojox.editor.plugins._SpellCheckParser");
26 dojo.require("dijit._editor.plugins.NewPage");
27 dojo.require("dojox.editor.plugins.ShowBlockNodes");
28 dojo.require("dijit._editor.plugins.ViewSource");
29 </script>
30 </head>
31 <body class="claro">
32 <h1>Editor + Batch/Interactive SpellCheck</h1>
33 <br/>
34 <div dojoType="dijit.Editor" id="editor1"
35 extraPlugins="[{name: 'SpellCheck', url: 'spellCheck.php', lang: 'EN', interactive: true, timeout: 20}, 'newpage', 'showblocknodes', 'viewSource']">
36 <ol>
37 <li>The is a demo to show how to use the Spell Check plugin.</li>
38 <li>You need a php server to test this plugin. Please enable <b>dojox\editor\plugins\tests\spellcheck.php</b> and <b>dojox\editor\plugins\tests\PorterStemmer.php</b> first.</li>
39 </ol>
40 <br/>
41 <br/>
42 <br/>
43 <br/>
44 <br/>
45 <br/>
46 <br/>
47 <br/>
48 <br/>
49 <br/>
50 <br/>
51 <br/>
52 <br/>
53 I am errir. Thi is wrng.
54 <br/>
55 <br/>
56 <br/>
57 <br/>
58 <br/>
59 <br/>
60 <br/>
61 <br/>
62 <br/>
63 Thi is the end of the txt.
64 <br/>
65 <br/>
66 <div><a href="http://www.example.com/example.html" target="_top" id="exampleLink">This is an example link in the page.</a></div>
67 <br/>
68 <br/>
69 <div><img src="./sample.jpg" alt="Sample Image" id="exampleImage" /></div>
70 <br/>
71 <br/>
72 </div>
73 <h1>Another Instance</h1>
74 <br/>
75 <div dojoType="dijit.Editor" id="editor2"
76 extraPlugins="[{name: 'SpellCheck', url: 'spellCheck.php', lang: 'EN', interactive: true, timeout: 20}]">
77 Don’t spend hours reinventing the wheel, use Dojo’s widget system Dijit for commonly used form widgets like calendars, input validation and more.
78 <br/>
79 <br/>
80 </div>
81 </body>
82 </html>