Déplacement préalable à l'eggification.
[ckeditor.git] / Products / ckeditor / skins / ckeditor / samples / uicolor.html
diff --git a/Products/ckeditor/skins/ckeditor/samples/uicolor.html b/Products/ckeditor/skins/ckeditor/samples/uicolor.html
new file mode 100644 (file)
index 0000000..ce4b2a2
--- /dev/null
@@ -0,0 +1,69 @@
+<!DOCTYPE html>\r
+<!--\r
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.\r
+For licensing, see LICENSE.md or http://ckeditor.com/license\r
+-->\r
+<html>\r
+<head>\r
+       <meta charset="utf-8">\r
+       <title>UI Color Picker &mdash; CKEditor Sample</title>\r
+       <script src="../ckeditor.js"></script>\r
+       <link rel="stylesheet" href="sample.css">\r
+</head>\r
+<body>\r
+       <h1 class="samples">\r
+               <a href="index.html">CKEditor Samples</a> &raquo; UI Color\r
+       </h1>\r
+       <div class="description">\r
+               <p>\r
+                       This sample shows how to automatically replace <code>&lt;textarea&gt;</code> elements\r
+                       with a CKEditor instance with an option to change the color of its user interface.<br>\r
+                       <strong>Note:</strong>The UI skin color feature depends on the CKEditor skin\r
+                       compatibility. The Moono and Kama skins are examples of skins that work with it.\r
+               </p>\r
+       </div>\r
+       <form action="sample_posteddata.php" method="post">\r
+       <p>\r
+               This editor instance has a UI color value defined in configuration to change the skin color,\r
+               To specify the color of the user interface, set the <code>uiColor</code> property:\r
+       </p>\r
+       <pre class="samples">\r
+CKEDITOR.replace( '<em>textarea_id</em>', {\r
+       <strong>uiColor: '#14B8C4'</strong>\r
+});</pre>\r
+       <p>\r
+               Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of\r
+               the <code>&lt;textarea&gt;</code> element to be replaced.\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>\r
+\r
+                       // Replace the <textarea id="editor"> with an CKEditor\r
+                       // instance, using default configurations.\r
+                       CKEDITOR.replace( 'editor1', {\r
+                               uiColor: '#14B8C4',\r
+                               toolbar: [\r
+                                       [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],\r
+                                       [ 'FontSize', 'TextColor', 'BGColor' ]\r
+                               ]\r
+                       });\r
+\r
+               </script>\r
+       </p>\r
+       <p>\r
+               <input type="submit" value="Submit">\r
+       </p>\r
+       </form>\r
+       <div id="footer">\r
+               <hr>\r
+               <p>\r
+                       CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>\r
+               </p>\r
+               <p id="copy">\r
+                       Copyright &copy; 2003-2014, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico\r
+                       Knabben. All rights reserved.\r
+               </p>\r
+       </div>\r
+</body>\r
+</html>\r