1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
4 For licensing, see LICENSE.html or http://ckeditor.com/license
6 <html xmlns=
"http://www.w3.org/1999/xhtml">
8 <title>Replace Textarea by Code - CKEditor Sample
</title>
9 <meta content=
"text/html; charset=utf-8" http-equiv=
"content-type" />
10 <script type=
"text/javascript" src=
"../../ckeditor.js"></script>
11 <link href=
"../sample.css" rel=
"stylesheet" type=
"text/css" />
12 <style type=
"text/css">
13 body { margin:
10px ; }
17 CKEditor - Adobe AIR Sample
20 This is a sample HTML/JavaScript Adobe AIR application with CKEditor with default features.
23 <textarea 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>
24 <script type=
"text/javascript">
27 // Replace the
<textarea id=
"editor"> with an CKEditor
28 // instance, using default configurations.
29 CKEDITOR.replace( 'editor1' );
34 <div id=
"footer" style=
"position:absolute;bottom:0;left:0;right:0;width:100%;padding-bottom:10px;">
37 CKEditor - The text editor for Internet -
<a class=
"samples" href=
"#" onclick=
"window.runtime.flash.net.navigateToURL(new window.runtime.flash.net.URLRequest('http://ckeditor.com/'));return false;">http://ckeditor.com
</a>
40 Copyright
© 2003-
2011,
<a class=
"samples" href=
"#" onclick=
"window.runtime.flash.net.navigateToURL(new window.runtime.flash.net.URLRequest('http://cksource.com/'));return false;">CKSource
</a> - Frederico
41 Knabben. All rights reserved.