1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
5 <meta content=
"text/html; charset=utf-8" http-equiv=
"content-type" />
6 <script type=
"text/javascript" src=
"http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
7 <!-- todo: change the following to ckeditor.js for production! -->
8 <script type=
"text/javascript" src=
"ckeditor/ckeditor_source.js"></script>
9 <script type=
"text/javascript" src=
"ckeditor/adapters/jquery.js"></script>
10 <link href=
"sample.css" rel=
"stylesheet" type=
"text/css" />
12 <script type=
"text/javascript">
18 ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
23 $('.jquery_ckeditor').ckeditor(config
);
34 <!-- This <div> holds alert messages to be display in the sample page. -->
38 <strong>CKEditor requires JavaScript to run
</strong>. In a browser with no JavaScript
39 support, like yours, you should still see the contents (HTML data) and you should
40 be able to edit it normally, without a rich editor interface.
44 <!-- This <fieldset> holds the HTML that you will usually find in your
46 <form action=
"sample_posteddata.php" method=
"post">
49 Editor
1:
</label><br />
50 <textarea class=
"jquery_ckeditor" cols=
"80" 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>
53 <input type=
"submit" value=
"Submit" />
59 CKEditor - The text editor for Internet -
<a href=
"http://ckeditor.com/">http://ckeditor.com
</a>
62 Copyright
© 2003-
2010,
<a href=
"http://cksource.com/">CKSource
</a> - Frederico
63 Knabben. All rights reserved.