| 1 | <!DOCTYPE html> |
|---|
| 2 | <!-- |
|---|
| 3 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. |
|---|
| 4 | For licensing, see LICENSE.html or http://ckeditor.com/license |
|---|
| 5 | --> |
|---|
| 6 | <html> |
|---|
| 7 | <head> |
|---|
| 8 | <title>#9619</title> |
|---|
| 9 | <meta charset="utf-8"> |
|---|
| 10 | <script src="../ckeditor.js"></script> |
|---|
| 11 | <link href="sample.css" rel="stylesheet"> |
|---|
| 12 | </head> |
|---|
| 13 | <body> |
|---|
| 14 | <h1 class="samples"> |
|---|
| 15 | <a href="index.html">CKEditor Samples</a> » #9619 |
|---|
| 16 | </h1> |
|---|
| 17 | <form action="sample_posteddata.php" method="post"> |
|---|
| 18 | <h2>Editor1: Standard</h2> |
|---|
| 19 | <textarea cols="80" id="editor1" name="editor1" rows="10"> |
|---|
| 20 | Editor1 |
|---|
| 21 | </textarea> |
|---|
| 22 | <br> |
|---|
| 23 | |
|---|
| 24 | <h2>Editor2: Upside down</h2> |
|---|
| 25 | <textarea cols="80" id="editor2" name="editor1" rows="10"> |
|---|
| 26 | Editor2 |
|---|
| 27 | </textarea> |
|---|
| 28 | <br> |
|---|
| 29 | |
|---|
| 30 | <h2>Editor3: No elementspath</h2> |
|---|
| 31 | <textarea cols="80" id="editor3" name="editor1" rows="10"> |
|---|
| 32 | Editor3 |
|---|
| 33 | </textarea> |
|---|
| 34 | <br> |
|---|
| 35 | |
|---|
| 36 | <h2>Editor4: No elementspath and resize</h2> |
|---|
| 37 | <textarea cols="80" id="editor4" name="editor1" rows="10"> |
|---|
| 38 | Editor4 |
|---|
| 39 | </textarea> |
|---|
| 40 | <br> |
|---|
| 41 | |
|---|
| 42 | <h2>Editor5: Inlineish</h2> |
|---|
| 43 | <div contenteditable="true" style="border: 2px solid red; padding: 2em; margin: 2em;"> |
|---|
| 44 | Editor5<br> |
|---|
| 45 | Editor5<br> |
|---|
| 46 | Editor5<br> |
|---|
| 47 | Editor5<br> |
|---|
| 48 | Editor5<br> |
|---|
| 49 | Editor5<br> |
|---|
| 50 | Editor5<br> |
|---|
| 51 | Editor5<br> |
|---|
| 52 | Editor5<br> |
|---|
| 53 | Editor5<br> |
|---|
| 54 | Editor5<br> |
|---|
| 55 | Editor5<br> |
|---|
| 56 | Editor5<br> |
|---|
| 57 | Editor5<br> |
|---|
| 58 | Editor5<br> |
|---|
| 59 | Editor5 |
|---|
| 60 | </div> |
|---|
| 61 | <br> |
|---|
| 62 | |
|---|
| 63 | <h2>Editor6: DIVish</h2> |
|---|
| 64 | <textarea cols="80" id="editor6" name="editor1" rows="10"> |
|---|
| 65 | Editor6 |
|---|
| 66 | </textarea> |
|---|
| 67 | <script> |
|---|
| 68 | |
|---|
| 69 | //CKEDITOR.config.skin = 'kama'; |
|---|
| 70 | //CKEDITOR.config.language = 'ar'; |
|---|
| 71 | CKEDITOR.config.toolbarCanCollapse = true; |
|---|
| 72 | |
|---|
| 73 | CKEDITOR.replace( 'editor1' ); |
|---|
| 74 | CKEDITOR.replace( 'editor2', { |
|---|
| 75 | removePlugins: 'elementspath,resize', |
|---|
| 76 | toolbarLocation: 'bottom' |
|---|
| 77 | }); |
|---|
| 78 | CKEDITOR.replace( 'editor3', { |
|---|
| 79 | removePlugins: 'elementspath' |
|---|
| 80 | }); |
|---|
| 81 | CKEDITOR.replace( 'editor4', { |
|---|
| 82 | removePlugins: 'elementspath,resize' |
|---|
| 83 | }); |
|---|
| 84 | CKEDITOR.replace( 'editor6', { |
|---|
| 85 | extraPlugins: 'divarea' |
|---|
| 86 | }); |
|---|
| 87 | </script> |
|---|
| 88 | <p> |
|---|
| 89 | <input type="submit" value="Submit"> |
|---|
| 90 | </p> |
|---|
| 91 | </form> |
|---|
| 92 | <div id="footer"> |
|---|
| 93 | <hr> |
|---|
| 94 | <p> |
|---|
| 95 | CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a> |
|---|
| 96 | </p> |
|---|
| 97 | <p id="copy"> |
|---|
| 98 | Copyright © 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico |
|---|
| 99 | Knabben. All rights reserved. |
|---|
| 100 | </p> |
|---|
| 101 | </div> |
|---|
| 102 | </body> |
|---|
| 103 | </html> |
|---|