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