Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / pybind / mgr / dashboard / static / AdminLTE-2.3.7 / plugins / ckeditor / samples / old / appendto.html
1 <!DOCTYPE html>\r
2 <!--\r
3 Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.\r
4 For licensing, see LICENSE.md or http://ckeditor.com/license\r
5 -->\r
6 <html>\r
7 <head>\r
8         <meta charset="utf-8">\r
9         <title>Append To Page Element Using JavaScript Code &mdash; CKEditor Sample</title>\r
10         <script src="../../ckeditor.js"></script>\r
11         <link rel="stylesheet" href="sample.css">\r
12 </head>\r
13 <body>\r
14         <h1 class="samples">\r
15                 <a href="index.html">CKEditor Samples</a> &raquo; Append To Page Element Using JavaScript Code\r
16         </h1>\r
17         <div class="warning deprecated">\r
18                 This sample is not maintained anymore. Check out the <a href="http://sdk.ckeditor.com/">brand new samples in CKEditor SDK</a>.\r
19         </div>\r
20         <div id="section1">\r
21                 <div class="description">\r
22                         <p>\r
23                                 The <code><a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR-method-appendTo">CKEDITOR.appendTo()</a></code> method serves to to place editors inside existing DOM elements. Unlike <code><a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR-method-replace">CKEDITOR.replace()</a></code>,\r
24                                 a target container to be replaced is no longer necessary. A new editor\r
25                                 instance is inserted directly wherever it is desired.\r
26                         </p>\r
27 <pre class="samples">CKEDITOR.appendTo( '<em>container_id</em>',\r
28         { /* Configuration options to be used. */ }\r
29         'Editor content to be used.'\r
30 );</pre>\r
31                 </div>\r
32                 <script>\r
33 \r
34                         // This call can be placed at any point after the\r
35                         // DOM element to append CKEditor to or inside the <head><script>\r
36                         // in a window.onload event handler.\r
37 \r
38                         // Append a CKEditor instance using the default configuration and the\r
39                         // provided content to the <div> element of ID "section1".\r
40                         CKEDITOR.appendTo( 'section1',\r
41                                 null,\r
42                                 '<p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p>'\r
43                         );\r
44 \r
45                 </script>\r
46         </div>\r
47         <br>\r
48         <div id="footer">\r
49                 <hr>\r
50                 <p>\r
51                         CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>\r
52                 </p>\r
53                 <p id="copy">\r
54                         Copyright &copy; 2003-2016, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico\r
55                         Knabben. All rights reserved.\r
56                 </p>\r
57         </div>\r
58 </body>\r
59 </html>\r