+++ /dev/null
-<!DOCTYPE html>\r
-<!--\r
-Copyright (c) 2003-2015, 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="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-2015, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico\r
- Knabben. All rights reserved.\r
- </p>\r
- </div>\r
-</body>\r
-</html>\r