-<!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>TAB Key-Based Navigation — CKEditor Sample</title>
- <script src="../../ckeditor.js"></script>
- <link href="sample.css" rel="stylesheet">
- <style>
-
- .cke_focused,
- .cke_editable.cke_focused
- {
- outline: 3px dotted blue !important;
- *border: 3px dotted blue !important; /* For IE7 */
- }
-
- </style>
- <script>
-
- CKEDITOR.on( 'instanceReady', function( evt ) {
- var editor = evt.editor;
- editor.setData( 'This editor has it\'s tabIndex set to <strong>' + editor.tabIndex + '</strong>' );
-
- // Apply focus class name.
- editor.on( 'focus', function() {
- editor.container.addClass( 'cke_focused' );
- });
- editor.on( 'blur', function() {
- editor.container.removeClass( 'cke_focused' );
- });
-
- // Put startup focus on the first editor in tab order.
- if ( editor.tabIndex == 1 )
- editor.focus();
- });
-
- </script>
-</head>
-<body>
- <h1 class="samples">
- <a href="index.html">CKEditor Samples</a> » TAB Key-Based Navigation
- </h1>
- <div class="warning deprecated">
- This sample is not maintained anymore. Check out its <a href="http://sdk.ckeditor.com/samples/tabindex.html">brand new version in CKEditor SDK</a>.
- </div>
- <div class="description">
- <p>
- This sample shows how tab key navigation among editor instances is
- affected by the <code>tabIndex</code> attribute from
- the original page element. Use TAB key to move between the editors.
- </p>
- </div>
- <p>
- <textarea class="ckeditor" cols="80" id="editor4" rows="10" tabindex="1"></textarea>
- </p>
- <div class="ckeditor" contenteditable="true" id="editor1" tabindex="4"></div>
- <p>
- <textarea class="ckeditor" cols="80" id="editor2" rows="10" tabindex="2"></textarea>
- </p>
- <p>
- <textarea class="ckeditor" cols="80" id="editor3" rows="10" tabindex="3"></textarea>
- </p>
- <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>TAB Key-Based Navigation — CKEditor Sample</title>\r
+ <script src="../../ckeditor.js"></script>\r
+ <link href="sample.css" rel="stylesheet">\r
+ <style>\r
+\r
+ .cke_focused,\r
+ .cke_editable.cke_focused\r
+ {\r
+ outline: 3px dotted blue !important;\r
+ *border: 3px dotted blue !important; /* For IE7 */\r
+ }\r
+\r
+ </style>\r
+ <script>\r
+\r
+ CKEDITOR.on( 'instanceReady', function( evt ) {\r
+ var editor = evt.editor;\r
+ editor.setData( 'This editor has it\'s tabIndex set to <strong>' + editor.tabIndex + '</strong>' );\r
+\r
+ // Apply focus class name.\r
+ editor.on( 'focus', function() {\r
+ editor.container.addClass( 'cke_focused' );\r
+ });\r
+ editor.on( 'blur', function() {\r
+ editor.container.removeClass( 'cke_focused' );\r
+ });\r
+\r
+ // Put startup focus on the first editor in tab order.\r
+ if ( editor.tabIndex == 1 )\r
+ editor.focus();\r
+ });\r
+\r
+ </script>\r
+</head>\r
+<body>\r
+ <h1 class="samples">\r
+ <a href="index.html">CKEditor Samples</a> » TAB Key-Based Navigation\r
+ </h1>\r
+ <div class="warning deprecated">\r
+ This sample is not maintained anymore. Check out its <a href="http://sdk.ckeditor.com/samples/tabindex.html">brand new version in CKEditor SDK</a>.\r
+ </div>\r
+ <div class="description">\r
+ <p>\r
+ This sample shows how tab key navigation among editor instances is\r
+ affected by the <code>tabIndex</code> attribute from\r
+ the original page element. Use TAB key to move between the editors.\r
+ </p>\r
+ </div>\r
+ <p>\r
+ <textarea class="ckeditor" cols="80" id="editor4" rows="10" tabindex="1"></textarea>\r
+ </p>\r
+ <div class="ckeditor" contenteditable="true" id="editor1" tabindex="4"></div>\r
+ <p>\r
+ <textarea class="ckeditor" cols="80" id="editor2" rows="10" tabindex="2"></textarea>\r
+ </p>\r
+ <p>\r
+ <textarea class="ckeditor" cols="80" id="editor3" rows="10" tabindex="3"></textarea>\r
+ </p>\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