Built motion from commit 1038d87.|0.0.141
[motion.git] / public / assets / plugins / ckeditor / samples / old / bbcode / bbcode.html
index 5f78c87..a83f068 100644 (file)
-<!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>BBCode Plugin &mdash; CKEditor Sample</title>
-       <script src="../../../ckeditor.js"></script>
-       <script src="../../../samples/old/sample.js"></script>
-       <link rel="stylesheet" href="../../../samples/old/sample.css">
-       <meta name="ckeditor-sample-required-plugins" content="sourcearea">
-       <meta name="ckeditor-sample-name" content="Output for BBCode">
-       <meta name="ckeditor-sample-group" content="Additional Plugins">
-       <meta name="ckeditor-sample-description" content="Configuring CKEditor to produce BBCode tags instead of HTML.">
-</head>
-<body>
-       <h1 class="samples">
-               <a href="../../../samples/old/index.html">CKEditor Samples</a> &raquo; BBCode Plugin
-       </h1>
-       <div class="warning deprecated">
-               This sample is not maintained anymore. Check out its <a href="http://sdk.ckeditor.com/samples/bbcode.html">brand new version in CKEditor SDK</a>.
-       </div>
-       <div class="description">
-               <p>
-                       This sample shows how to configure CKEditor to output <a href="http://en.wikipedia.org/wiki/BBCode">BBCode</a> format instead of HTML.
-                       Please note that the editor configuration was modified to reflect what is needed in a BBCode editing environment.
-                       Smiley images, for example, were stripped to the emoticons that are commonly used in some BBCode dialects.
-               </p>
-               <p>
-                       Please note that currently there is no standard for the BBCode markup language, so its implementation
-                       for different platforms (message boards, blogs etc.) can vary. This means that before using CKEditor to
-                       output BBCode you may need to adjust the implementation to your own environment.
-               </p>
-               <p>
-                       A snippet of the configuration code can be seen below; check the source of this page for
-                       a full definition:
-               </p>
-               <pre class="samples">
-CKEDITOR.replace( 'editor1', {
-       <strong>extraPlugins: 'bbcode',</strong>
-       toolbar: [
-               [ 'Source', '-', 'Save', 'NewPage', '-', 'Undo', 'Redo' ],
-               [ 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat' ],
-               [ 'Link', 'Unlink', 'Image' ],
-               '/',
-               [ 'FontSize', 'Bold', 'Italic', 'Underline' ],
-               [ 'NumberedList', 'BulletedList', '-', 'Blockquote' ],
-               [ 'TextColor', '-', 'Smiley', 'SpecialChar', '-', 'Maximize' ]
-       ],
-       ... <i>some other configurations omitted here</i>
-});    </pre>
-       </div>
-       <form action="../../../samples/sample_posteddata.php" method="post">
-               <p>
-                       <label for="editor1">
-                               Editor 1:
-                       </label>
-                       <textarea cols="80" id="editor1" name="editor1" rows="10">This is some [b]sample text[/b]. You are using [url=http://ckeditor.com/]CKEditor[/url].</textarea>
-                       <script>
-
-                               // Replace the <textarea id="editor"> with an CKEditor
-                               // instance, using the "bbcode" plugin, shaping some of the
-                               // editor configuration to fit BBCode environment.
-                               CKEDITOR.replace( 'editor1', {
-                                       extraPlugins: 'bbcode',
-                                       // Remove unused plugins.
-                                       removePlugins: 'bidi,dialogadvtab,div,filebrowser,flash,format,forms,horizontalrule,iframe,justify,liststyle,pagebreak,showborders,stylescombo,table,tabletools,templates',
-                                       // Width and height are not supported in the BBCode format, so object resizing is disabled.
-                                       disableObjectResizing: true,
-                                       // Define font sizes in percent values.
-                                       fontSize_sizes: "30/30%;50/50%;100/100%;120/120%;150/150%;200/200%;300/300%",
-                                       toolbar: [
-                                               [ 'Source', '-', 'Save', 'NewPage', '-', 'Undo', 'Redo' ],
-                                               [ 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat' ],
-                                               [ 'Link', 'Unlink', 'Image', 'Smiley', 'SpecialChar' ],
-                                               '/',
-                                               [ 'Bold', 'Italic', 'Underline' ],
-                                               [ 'FontSize' ],
-                                               [ 'TextColor' ],
-                                               [ 'NumberedList', 'BulletedList', '-', 'Blockquote' ],
-                                               [ 'Maximize' ]
-                                       ],
-                                       // Strip CKEditor smileys to those commonly used in BBCode.
-                                       smiley_images: [
-                                               'regular_smile.png', 'sad_smile.png', 'wink_smile.png', 'teeth_smile.png', 'tongue_smile.png',
-                                               'embarrassed_smile.png', 'omg_smile.png', 'whatchutalkingabout_smile.png', 'angel_smile.png',
-                                               'shades_smile.png', 'cry_smile.png', 'kiss.png'
-                                       ],
-                                       smiley_descriptions: [
-                                               'smiley', 'sad', 'wink', 'laugh', 'cheeky', 'blush', 'surprise',
-                                               'indecision', 'angel', 'cool', 'crying', 'kiss'
-                                       ]
-                               });
-
-                       </script>
-               </p>
-               <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 &copy; 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>BBCode Plugin &mdash; CKEditor Sample</title>\r
+       <script src="../../../ckeditor.js"></script>\r
+       <script src="../../../samples/old/sample.js"></script>\r
+       <link rel="stylesheet" href="../../../samples/old/sample.css">\r
+       <meta name="ckeditor-sample-required-plugins" content="sourcearea">\r
+       <meta name="ckeditor-sample-name" content="Output for BBCode">\r
+       <meta name="ckeditor-sample-group" content="Additional Plugins">\r
+       <meta name="ckeditor-sample-description" content="Configuring CKEditor to produce BBCode tags instead of HTML.">\r
+</head>\r
+<body>\r
+       <h1 class="samples">\r
+               <a href="../../../samples/old/index.html">CKEditor Samples</a> &raquo; BBCode 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/bbcode.html">brand new version in CKEditor SDK</a>.\r
+       </div>\r
+       <div class="description">\r
+               <p>\r
+                       This sample shows how to configure CKEditor to output <a href="http://en.wikipedia.org/wiki/BBCode">BBCode</a> format instead of HTML.\r
+                       Please note that the editor configuration was modified to reflect what is needed in a BBCode editing environment.\r
+                       Smiley images, for example, were stripped to the emoticons that are commonly used in some BBCode dialects.\r
+               </p>\r
+               <p>\r
+                       Please note that currently there is no standard for the BBCode markup language, so its implementation\r
+                       for different platforms (message boards, blogs etc.) can vary. This means that before using CKEditor to\r
+                       output BBCode you may need to adjust the implementation to your own environment.\r
+               </p>\r
+               <p>\r
+                       A snippet of the configuration code can be seen below; check the source of this page for\r
+                       a full definition:\r
+               </p>\r
+               <pre class="samples">\r
+CKEDITOR.replace( 'editor1', {\r
+       <strong>extraPlugins: 'bbcode',</strong>\r
+       toolbar: [\r
+               [ 'Source', '-', 'Save', 'NewPage', '-', 'Undo', 'Redo' ],\r
+               [ 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat' ],\r
+               [ 'Link', 'Unlink', 'Image' ],\r
+               '/',\r
+               [ 'FontSize', 'Bold', 'Italic', 'Underline' ],\r
+               [ 'NumberedList', 'BulletedList', '-', 'Blockquote' ],\r
+               [ 'TextColor', '-', 'Smiley', 'SpecialChar', '-', 'Maximize' ]\r
+       ],\r
+       ... <i>some other configurations omitted here</i>\r
+});    </pre>\r
+       </div>\r
+       <form action="../../../samples/sample_posteddata.php" method="post">\r
+               <p>\r
+                       <label for="editor1">\r
+                               Editor 1:\r
+                       </label>\r
+                       <textarea cols="80" id="editor1" name="editor1" rows="10">This is some [b]sample text[/b]. You are using [url=http://ckeditor.com/]CKEditor[/url].</textarea>\r
+                       <script>\r
+\r
+                               // Replace the <textarea id="editor"> with an CKEditor\r
+                               // instance, using the "bbcode" plugin, shaping some of the\r
+                               // editor configuration to fit BBCode environment.\r
+                               CKEDITOR.replace( 'editor1', {\r
+                                       extraPlugins: 'bbcode',\r
+                                       // Remove unused plugins.\r
+                                       removePlugins: 'bidi,dialogadvtab,div,filebrowser,flash,format,forms,horizontalrule,iframe,justify,liststyle,pagebreak,showborders,stylescombo,table,tabletools,templates',\r
+                                       // Width and height are not supported in the BBCode format, so object resizing is disabled.\r
+                                       disableObjectResizing: true,\r
+                                       // Define font sizes in percent values.\r
+                                       fontSize_sizes: "30/30%;50/50%;100/100%;120/120%;150/150%;200/200%;300/300%",\r
+                                       toolbar: [\r
+                                               [ 'Source', '-', 'Save', 'NewPage', '-', 'Undo', 'Redo' ],\r
+                                               [ 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat' ],\r
+                                               [ 'Link', 'Unlink', 'Image', 'Smiley', 'SpecialChar' ],\r
+                                               '/',\r
+                                               [ 'Bold', 'Italic', 'Underline' ],\r
+                                               [ 'FontSize' ],\r
+                                               [ 'TextColor' ],\r
+                                               [ 'NumberedList', 'BulletedList', '-', 'Blockquote' ],\r
+                                               [ 'Maximize' ]\r
+                                       ],\r
+                                       // Strip CKEditor smileys to those commonly used in BBCode.\r
+                                       smiley_images: [\r
+                                               'regular_smile.png', 'sad_smile.png', 'wink_smile.png', 'teeth_smile.png', 'tongue_smile.png',\r
+                                               'embarrassed_smile.png', 'omg_smile.png', 'whatchutalkingabout_smile.png', 'angel_smile.png',\r
+                                               'shades_smile.png', 'cry_smile.png', 'kiss.png'\r
+                                       ],\r
+                                       smiley_descriptions: [\r
+                                               'smiley', 'sad', 'wink', 'laugh', 'cheeky', 'blush', 'surprise',\r
+                                               'indecision', 'angel', 'cool', 'crying', 'kiss'\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-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