| 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-2010, 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>CKEditor Bug Demo</title> |
|---|
| 9 | <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
|---|
| 10 | <script type="text/javascript" src="http://ckeditor.com/apps/ckeditor/3.4.2/ckeditor.js"></script> |
|---|
| 11 | <script src="http://ckeditor.com/apps/ckeditor/3.4.2/_samples/sample.js" type="text/javascript"></script> |
|---|
| 12 | <link href="http://ckeditor.com/apps/ckeditor/3.4.2/_samples/sample.css" rel="stylesheet" type="text/css" /> |
|---|
| 13 | </head> |
|---|
| 14 | <body> |
|---|
| 15 | <!-- This <div> holds alert messages to be display in the sample page. --> |
|---|
| 16 | <div id="alerts"> |
|---|
| 17 | <noscript> |
|---|
| 18 | <p> |
|---|
| 19 | <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript |
|---|
| 20 | support, like yours, you should still see the contents (HTML data) and you should |
|---|
| 21 | be able to edit it normally, without a rich editor interface. |
|---|
| 22 | </p> |
|---|
| 23 | </noscript> |
|---|
| 24 | </div> |
|---|
| 25 | <form action="sample_posteddata.php" method="post"> |
|---|
| 26 | <table style="border: 3px solid red"><tr><td style="width:400px"> |
|---|
| 27 | <textarea cols="40" id="editor1" name="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea> |
|---|
| 28 | <script type="text/javascript"> |
|---|
| 29 | //<![CDATA[ |
|---|
| 30 | |
|---|
| 31 | // This call can be placed at any point after the |
|---|
| 32 | // <textarea>, or inside a <head><script> in a |
|---|
| 33 | // window.onload event handler. |
|---|
| 34 | |
|---|
| 35 | // Replace the <textarea id="editor"> with an CKEditor |
|---|
| 36 | // instance, using default configurations. |
|---|
| 37 | CKEDITOR.replace( 'editor1', { skin: 'office2003', width: '400px' } ); |
|---|
| 38 | |
|---|
| 39 | //]]> |
|---|
| 40 | </script> |
|---|
| 41 | </td></tr></table> |
|---|
| 42 | <table style="border: 3px solid green"><tr><td style="width:400px"> |
|---|
| 43 | <textarea cols="40" id="editor2" name="editor2" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea> |
|---|
| 44 | <script type="text/javascript"> |
|---|
| 45 | //<![CDATA[ |
|---|
| 46 | |
|---|
| 47 | // This call can be placed at any point after the |
|---|
| 48 | // <textarea>, or inside a <head><script> in a |
|---|
| 49 | // window.onload event handler. |
|---|
| 50 | |
|---|
| 51 | // Replace the <textarea id="editor"> with an CKEditor |
|---|
| 52 | // instance, using default configurations. |
|---|
| 53 | CKEDITOR.replace( 'editor2', { skin: 'kama', width: '400px' } ); |
|---|
| 54 | |
|---|
| 55 | //]]> |
|---|
| 56 | </script> |
|---|
| 57 | </td></tr></table> |
|---|
| 58 | <table style="border: 3px solid blue"><tr><td style="width:400px"> |
|---|
| 59 | <input type="submit" value="Submit" /> |
|---|
| 60 | </td></tr></table> |
|---|
| 61 | </form> |
|---|
| 62 | <div id="footer"> |
|---|
| 63 | <hr /> |
|---|
| 64 | <p> |
|---|
| 65 | CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a> |
|---|
| 66 | </p> |
|---|
| 67 | <p id="copy"> |
|---|
| 68 | Copyright © 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico |
|---|
| 69 | Knabben. All rights reserved. |
|---|
| 70 | </p> |
|---|
| 71 | </div> |
|---|
| 72 | </body> |
|---|
| 73 | </html> |
|---|