Debian Codegraph @

dijit/tests/editor/test_Print.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 Test: Print Plugin</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/Print",
14 "dojo/domReady!"
15 ], function(parser){
16 parser.parse();
17 });
18 </script>
19 </head>
20 <body class="claro" role="main">
21 <br>
22 <br>
23 <div>Content before the editor.</div>
24 <br>
25 <br>
26 <div id="editor0" data-dojo-type="dijit/Editor"
27 data-dojo-props='"aria-label":"editor0",extraPlugins:["print"], style:"background-color: white; width: 800px;", height: "400px"'>
28 <h1>Print Plugin details</h1>
29 <ol>
30 <li>The print plugin is a small plugin that adds the capability of printing the document in the editor</li>
31 <li>If the underlying browser doesn't support print, then the button will be disabled by default</li>
32 </ol>
33
34 <h2>Things to test (manually, because of the print dialog, the function test cannot be automated):</h2>
35 <ol>
36 <li>Verify that clicking the print button opns the browser print dialog and the document will print.</li>
37 <li>Verify that the printed document is only the document in the editor, not the whole page.</li>
38 </ol>
39 </div>
40 <br>
41 <br>
42 <div>Content after the editor.</div>
43 </body>
44 </html>