| 1 | <!DOCTYPE html> |
|---|
| 2 | <!-- |
|---|
| 3 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. |
|---|
| 4 | For licensing, see LICENSE.md or http://ckeditor.com/license |
|---|
| 5 | --> |
|---|
| 6 | <html> |
|---|
| 7 | <head> |
|---|
| 8 | <title>#10765</title> |
|---|
| 9 | <meta charset="utf-8"> |
|---|
| 10 | <script src="../../ckeditor.js"></script> |
|---|
| 11 | <link href="../sample.css" rel="stylesheet"> |
|---|
| 12 | <style> |
|---|
| 13 | .cke_editable { outline: 2px solid red; padding: 1em 0; margin: 1em 0; } |
|---|
| 14 | </style> |
|---|
| 15 | </head> |
|---|
| 16 | <body> |
|---|
| 17 | <h1 class="samples"> |
|---|
| 18 | #10765 |
|---|
| 19 | </h1> |
|---|
| 20 | |
|---|
| 21 | <h2>Without startup data</h2> |
|---|
| 22 | |
|---|
| 23 | <form action="../sample_posteddata.php" method="post"> |
|---|
| 24 | <div> |
|---|
| 25 | <textarea id="editor1" name="editor1" required="true"></textarea> |
|---|
| 26 | <textarea id="editor2" name="editor2" required="true"></textarea> |
|---|
| 27 | <input type="submit" value="Submit"> |
|---|
| 28 | </div> |
|---|
| 29 | </form> |
|---|
| 30 | |
|---|
| 31 | <h2>With startup data</h2> |
|---|
| 32 | |
|---|
| 33 | <form action="../sample_posteddata.php" method="post"> |
|---|
| 34 | <div> |
|---|
| 35 | <textarea id="editor3" name="editor3" required="true">Wood</textarea> |
|---|
| 36 | <textarea id="editor4" name="editor4" required="true">Chuck</textarea> |
|---|
| 37 | <input type="submit" value="Submit"> |
|---|
| 38 | </div> |
|---|
| 39 | </form> |
|---|
| 40 | |
|---|
| 41 | <script> |
|---|
| 42 | |
|---|
| 43 | CKEDITOR.inline( 'editor1' ); |
|---|
| 44 | CKEDITOR.inline( 'editor2' ); |
|---|
| 45 | |
|---|
| 46 | CKEDITOR.inline( 'editor3' ); |
|---|
| 47 | CKEDITOR.inline( 'editor4' ); |
|---|
| 48 | |
|---|
| 49 | </script> |
|---|
| 50 | </body> |
|---|
| 51 | </html> |
|---|