1 | <!-- |
---|
2 | Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. |
---|
3 | For licensing, see LICENSE.html or http://ckeditor.com/license |
---|
4 | --> |
---|
5 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
6 | <head> |
---|
7 | <title>Replace Textareas by Class Name - CKEditor Sample</title> |
---|
8 | <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
---|
9 | <!-- CKReleaser %REMOVE_LINE% |
---|
10 | <script type="text/javascript" src="../ckeditor.js"></script> |
---|
11 | CKReleaser %REMOVE_START% --> |
---|
12 | <script type="text/javascript" src="../ckeditor_source.js"></script> |
---|
13 | <!-- CKReleaser %REMOVE_END% --> |
---|
14 | <script src="sample.js" type="text/javascript"></script> |
---|
15 | <link href="sample.css" rel="stylesheet" type="text/css" /> |
---|
16 | <script> |
---|
17 | window.onload = function () |
---|
18 | { |
---|
19 | CKEDITOR.replace( 'editor1' ); |
---|
20 | } |
---|
21 | </script> |
---|
22 | </head> |
---|
23 | <body> |
---|
24 | <table style="table-layout:fixed"> |
---|
25 | <tr> |
---|
26 | <td width=25%> Lorem ipsum!</td> |
---|
27 | <td width=75%> |
---|
28 | <textarea cols="80" id="editor1" name="editor1" |
---|
29 | rows="10"></textarea> |
---|
30 | </td> |
---|
31 | </tr> |
---|
32 | </table> |
---|
33 | </body> |
---|
34 | </html> |
---|