-<!DOCTYPE html>
-<!--
-Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.md or http://ckeditor.com/license
--->
-<html>
-<head>
- <meta charset="utf-8">
- <title>UI Color Picker — CKEditor Sample</title>
- <script src="../../../ckeditor.js"></script>
- <link rel="stylesheet" href="../../../samples/old/sample.css">
- <meta name="ckeditor-sample-name" content="UIColor plugin">
- <meta name="ckeditor-sample-group" content="Plugins">
- <meta name="ckeditor-sample-description" content="Using the UIColor plugin to pick up skin color.">
-</head>
-<body>
- <h1 class="samples">
- <a href="../../../samples/old/index.html">CKEditor Samples</a> » UI Color Plugin
- </h1>
- <div class="warning deprecated">
- This sample is not maintained anymore. Check out its <a href="http://sdk.ckeditor.com/samples/uicolorpicker.html">brand new version in CKEditor SDK</a>.
- </div>
- <div class="description">
- <p>
- This sample shows how to use the UI Color picker toolbar button to preview the skin color of the editor.
- <strong>Note:</strong>The UI skin color feature depends on the CKEditor skin
- compatibility. The Moono and Kama skins are examples of skins that work with it.
- </p>
- </div>
- <form action="../../../samples/sample_posteddata.php" method="post">
- <div id="ui-color-plugin">
- <p>
- If the <strong>uicolor</strong> plugin along with the dedicated <strong>UIColor</strong>
- toolbar button is added to CKEditor, the user will also be able to pick the color of the
- UI from the color palette available in the <strong>UI Color Picker</strong> dialog window.
- </p>
- <p>
- To insert a CKEditor instance with the <strong>uicolor</strong> plugin enabled,
- use the following JavaScript call:
- </p>
- <pre class="samples">
-CKEDITOR.replace( '<em>textarea_id</em>', {
- <strong>extraPlugins: 'uicolor',</strong>
- toolbar: [ [ 'Bold', 'Italic' ], [ <strong>'UIColor'</strong> ] ]
-});</pre>
- <h2>Used in themed instance</h2>
- <p>
- Click the <strong>UI Color Picker</strong> toolbar button to open up a color picker dialog.
- </p>
- <p>
- <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>
- <script>
-
- // Replace the <textarea id="editor"> with an CKEditor
- // instance, using default configurations.
- CKEDITOR.replace( 'editor1', {
- extraPlugins: 'uicolor',
- toolbar: [
- [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
- [ 'FontSize', 'TextColor', 'BGColor' ],
- [ 'UIColor' ]
- ]
- });
-
- </script>
- </p>
- <h2>Used in inline instance</h2>
- <p>
- Click the below editable region to display floating toolbar, then click <strong>UI Color Picker</strong> button.
- </p>
- <div id="editor2" contenteditable="true">
- <p>This is some <strong>sample text</strong>. You are using <a data-cke-saved-href="http://ckeditor.com/" href="http://ckeditor.com/">CKEditor</a>.</p>
- </div>
- <script>
-
- // Disable automatic creation of inline instances.
- CKEDITOR.disableAutoInline = true;
-
- // Replace the <div id="editor3"> with an inline CKEditor instance.
- CKEDITOR.inline( 'editor2', {
- extraPlugins: 'uicolor',
- toolbar: [
- [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
- [ 'FontSize', 'TextColor', 'BGColor' ],
- [ 'UIColor' ]
- ]
- });
-
- </script>
- </div>
- <p>
- <input type="submit" value="Submit">
- </p>
- </form>
- <div id="footer">
- <hr>
- <p>
- CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
- </p>
- <p id="copy">
- Copyright © 2003-2016, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
- Knabben. All rights reserved.
- </p>
- </div>
-</body>
-</html>
+<!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="../../../samples/old/sample.css">\r
+ <meta name="ckeditor-sample-name" content="UIColor plugin">\r
+ <meta name="ckeditor-sample-group" content="Plugins">\r
+ <meta name="ckeditor-sample-description" content="Using the UIColor plugin to pick up skin color.">\r
+</head>\r
+<body>\r
+ <h1 class="samples">\r
+ <a href="../../../samples/old/index.html">CKEditor Samples</a> » UI Color Plugin\r
+ </h1>\r
+ <div class="warning deprecated">\r
+ This sample is not maintained anymore. Check out its <a href="http://sdk.ckeditor.com/samples/uicolorpicker.html">brand new version in CKEditor SDK</a>.\r
+ </div>\r
+ <div class="description">\r
+ <p>\r
+ This sample shows how to use the UI Color picker toolbar button to preview the skin color of the editor.\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="../../../samples/sample_posteddata.php" method="post">\r
+ <div id="ui-color-plugin">\r
+ <p>\r
+ If the <strong>uicolor</strong> plugin along with the dedicated <strong>UIColor</strong>\r
+ toolbar button is added to CKEditor, the user will also be able to pick the color of the\r
+ UI from the color palette available in the <strong>UI Color Picker</strong> dialog window.\r
+ </p>\r
+ <p>\r
+ To insert a CKEditor instance with the <strong>uicolor</strong> plugin enabled,\r
+ use the following JavaScript call:\r
+ </p>\r
+ <pre class="samples">\r
+CKEDITOR.replace( '<em>textarea_id</em>', {\r
+ <strong>extraPlugins: 'uicolor',</strong>\r
+ toolbar: [ [ 'Bold', 'Italic' ], [ <strong>'UIColor'</strong> ] ]\r
+});</pre>\r
+ <h2>Used in themed instance</h2>\r
+ <p>\r
+ Click the <strong>UI Color Picker</strong> toolbar button to open up a color picker dialog.\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
+ extraPlugins: 'uicolor',\r
+ toolbar: [\r
+ [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],\r
+ [ 'FontSize', 'TextColor', 'BGColor' ],\r
+ [ 'UIColor' ]\r
+ ]\r
+ });\r
+\r
+ </script>\r
+ </p>\r
+ <h2>Used in inline instance</h2>\r
+ <p>\r
+ Click the below editable region to display floating toolbar, then click <strong>UI Color Picker</strong> button.\r
+ </p>\r
+ <div id="editor2" contenteditable="true">\r
+ <p>This is some <strong>sample text</strong>. You are using <a data-cke-saved-href="http://ckeditor.com/" href="http://ckeditor.com/">CKEditor</a>.</p>\r
+ </div>\r
+ <script>\r
+\r
+ // Disable automatic creation of inline instances.\r
+ CKEDITOR.disableAutoInline = true;\r
+\r
+ // Replace the <div id="editor3"> with an inline CKEditor instance.\r
+ CKEDITOR.inline( 'editor2', {\r
+ extraPlugins: 'uicolor',\r
+ toolbar: [\r
+ [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],\r
+ [ 'FontSize', 'TextColor', 'BGColor' ],\r
+ [ 'UIColor' ]\r
+ ]\r
+ });\r
+\r
+ </script>\r
+ </div>\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