| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 2 | <!-- |
|---|
| 3 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. |
|---|
| 4 | For licensing, see LICENSE.html or http://ckeditor.com/license |
|---|
| 5 | --> |
|---|
| 6 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 7 | <head> |
|---|
| 8 | <title>Replace Textareas by Class Name - CKEditor Sample</title> |
|---|
| 9 | <script type="text/javascript" src="sample.js"></script> |
|---|
| 10 | </head> |
|---|
| 11 | <body> |
|---|
| 12 | <div id="html"> |
|---|
| 13 | <form action="sample_posteddata.php" method="post"> |
|---|
| 14 | <p> |
|---|
| 15 | <label for="editor1"> |
|---|
| 16 | Editor 1:</label><br /> |
|---|
| 17 | <textarea id="editor1" name="editor1" class="ckeditor" rows="10" cols="80"> |
|---|
| 18 | <p><span class="Bold">bolditalic</span></p></textarea> |
|---|
| 19 | </p> |
|---|
| 20 | <p> |
|---|
| 21 | <input type="submit" value="Submit" /> |
|---|
| 22 | </p> |
|---|
| 23 | </form> |
|---|
| 24 | </div> |
|---|
| 25 | <div id="code"> |
|---|
| 26 | <pre> |
|---|
| 27 | <form action=""> |
|---|
| 28 | <p> |
|---|
| 29 | <label for="editor1"> |
|---|
| 30 | Editor 1:</label><br /> |
|---|
| 31 | <textarea id="editor1" name="editor1" <b>class="ckeditor"</b> rows="10" cols="80"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 32 | </p> |
|---|
| 33 | <p> |
|---|
| 34 | <label for="editor2"> |
|---|
| 35 | Editor 2:</label><br /> |
|---|
| 36 | <textarea id="editor2" name="editor2" <b>class="ckeditor"</b> rows="10" cols="80"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
|---|
| 37 | </p> |
|---|
| 38 | <p> |
|---|
| 39 | <input type="submit" value="Submit" /> |
|---|
| 40 | </p> |
|---|
| 41 | </form> |
|---|
| 42 | </pre> |
|---|
| 43 | </div> |
|---|
| 44 | </body> |
|---|
| 45 | </html> |
|---|