3 Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
\r 
   4 For licensing, see LICENSE.md or http://ckeditor.com/license
\r 
   8         <meta charset="utf-8">
\r 
   9         <title>TAB Key-Based Navigation — CKEditor Sample</title>
\r 
  10         <script src="../../ckeditor.js"></script>
\r 
  11         <link href="sample.css" rel="stylesheet">
\r 
  15                 .cke_editable.cke_focused
\r 
  17                         outline: 3px dotted blue !important;
\r 
  18                         *border: 3px dotted blue !important;    /* For IE7 */
\r 
  24                 CKEDITOR.on( 'instanceReady', function( evt ) {
\r 
  25                         var editor = evt.editor;
\r 
  26                         editor.setData( 'This editor has it\'s tabIndex set to <strong>' + editor.tabIndex + '</strong>' );
\r 
  28                         // Apply focus class name.
\r 
  29                         editor.on( 'focus', function() {
\r 
  30                                 editor.container.addClass( 'cke_focused' );
\r 
  32                         editor.on( 'blur', function() {
\r 
  33                                 editor.container.removeClass( 'cke_focused' );
\r 
  36                         // Put startup focus on the first editor in tab order.
\r 
  37                         if ( editor.tabIndex == 1 )
\r 
  44         <h1 class="samples">
\r 
  45                 <a href="index.html">CKEditor Samples</a> » TAB Key-Based Navigation
\r 
  47         <div class="warning deprecated">
\r 
  48                 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 
  50         <div class="description">
\r 
  52                         This sample shows how tab key navigation among editor instances is
\r 
  53                         affected by the <code>tabIndex</code> attribute from
\r 
  54                         the original page element. Use TAB key to move between the editors.
\r 
  58                 <textarea class="ckeditor" cols="80" id="editor4" rows="10" tabindex="1"></textarea>
\r 
  60         <div class="ckeditor" contenteditable="true" id="editor1" tabindex="4"></div>
\r 
  62                 <textarea class="ckeditor" cols="80" id="editor2" rows="10" tabindex="2"></textarea>
\r 
  65                 <textarea class="ckeditor" cols="80" id="editor3" rows="10" tabindex="3"></textarea>
\r 
  70                         CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
\r 
  73                         Copyright © 2003-2017, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
\r 
  74                         Knabben. All rights reserved.
\r