JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5
[ckeditor.git] / _samples / adobeair / sample.html
diff --git a/_samples/adobeair/sample.html b/_samples/adobeair/sample.html
new file mode 100644 (file)
index 0000000..c4ace14
--- /dev/null
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
+<!--\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+For licensing, see LICENSE.html or http://ckeditor.com/license\r
+-->\r
+<html xmlns="http://www.w3.org/1999/xhtml">\r
+<head>\r
+       <title>Replace Textarea by Code - CKEditor Sample</title>\r
+       <meta content="text/html; charset=utf-8" http-equiv="content-type" />\r
+       <script type="text/javascript" src="../../ckeditor.js"></script>\r
+       <link href="../sample.css" rel="stylesheet" type="text/css" />\r
+       <style type="text/css">\r
+               body { margin: 10px ; }\r
+       </style></head>\r
+<body>\r
+       <h1>\r
+               CKEditor - Adobe AIR Sample\r
+       </h1>\r
+       <p>\r
+               This is a sample HTML/JavaScript Adobe AIR application with CKEditor with default features.\r
+       </p>\r
+       <p>\r
+               <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>\r
+               <script type="text/javascript">\r
+               //<![CDATA[\r
+\r
+                       // Replace the <textarea id="editor"> with an CKEditor\r
+                       // instance, using default configurations.\r
+                       CKEDITOR.replace( 'editor1' );\r
+\r
+               //]]>\r
+               </script>\r
+       </p>\r
+       <div id="footer" style="position:absolute;bottom:0;left:0;right:0;width:100%;padding-bottom:10px;">\r
+               <hr />\r
+               <p>\r
+                       CKEditor - The text editor for Internet - <a href="#" onclick="window.runtime.flash.net.navigateToURL(new window.runtime.flash.net.URLRequest('http://ckeditor.com/'));return false;">http://ckeditor.com</a>\r
+               </p>\r
+               <p id="copy">\r
+                       Copyright &copy; 2003-2010, <a href="#" onclick="window.runtime.flash.net.navigateToURL(new window.runtime.flash.net.URLRequest('http://cksource.com/'));return false;">CKSource</a> - Frederico\r
+                       Knabben. All rights reserved.\r
+               </p>\r
+       </div>\r
+</body>\r
+</html>\r