+++ /dev/null
-<!DOCTYPE html>\r
-<!--\r
-Copyright (c) 2003-2016, 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 — 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> » UI Color\r
- </h1>\r
- <div class="warning deprecated">\r
- This sample is not maintained anymore. Check out its <a href="http://sdk.ckeditor.com/samples/uicolor.html">brand new version in CKEditor SDK</a>.\r
- </div>\r
- <div class="description">\r
- <p>\r
- This sample shows how to automatically replace <code><textarea></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><textarea></code> element to be replaced.\r
- </p>\r
- <p>\r
- <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
- <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 © 2003-2016, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico\r
- Knabben. All rights reserved.\r
- </p>\r
- </div>\r
-</body>\r
-</html>\r