1 | <html><body> |
---|
2 | <form action="sample_posteddata.php" method="post"> |
---|
3 | <p> |
---|
4 | <label for="editor1"> |
---|
5 | Editor 1:</label><br /> |
---|
6 | <textarea cols="80" id="editor1:test" name="editor1:test" rows="10"><p>This is some <strong>sample text</strong |
---|
7 | >. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea> |
---|
8 | <script type="text/javascript"> |
---|
9 | //<![CDATA[ |
---|
10 | |
---|
11 | // This call can be placed at any point after the |
---|
12 | // <textarea>, or inside a <head><script> in a |
---|
13 | // window.onload event handler. |
---|
14 | // Replace the <textarea id="editor"> with an CKEditor |
---|
15 | // instance, using default configurations. |
---|
16 | CKEDITOR.replace( 'editor1:test', |
---|
17 | { |
---|
18 | uiColor : '#EBF6DE' |
---|
19 | } ); |
---|
20 | |
---|
21 | //]]> |
---|
22 | </script> |
---|
23 | </p> |
---|
24 | <p> |
---|
25 | <label for="editor2"> |
---|
26 | Editor 2:</label><br /> |
---|
27 | <textarea cols="80" id="editor2:test" name="editor2:test" rows="10"><p>This is some <strong>sample text</strong |
---|
28 | >. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea> |
---|
29 | <script type="text/javascript"> |
---|
30 | //<![CDATA[ |
---|
31 | |
---|
32 | // This call can be placed at any point after the |
---|
33 | // <textarea>, or inside a <head><script> in a // window.onload event handler. |
---|
34 | // Replace the <textarea id="editor"> with an CKEditor |
---|
35 | // instance, using default configurations. |
---|
36 | CKEDITOR.replace( 'editor2:test', |
---|
37 | { |
---|
38 | uiColor : '#EBF6DE' |
---|
39 | } ); |
---|
40 | |
---|
41 | //]]> |
---|
42 | </script> |
---|
43 | </p> |
---|
44 | |
---|
45 | </form> |
---|
46 | </body> |
---|
47 | </html> |
---|