Changeset 5664
- Timestamp:
- 07/07/10 16:11:34 (3 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/colorbutton/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r5663 r5664 55 55 <li><a href="http://dev.fckeditor.net/ticket/5736">#5736</a> : Improved the text generated for mailto: links if no text was selected.</li> 56 56 <li><a href="http://dev.fckeditor.net/ticket/4779">#4779</a> : Adjust resize_minWidth and Height if smaller than actual dimensions.</li> 57 <li><a href="http://dev.fckeditor.net/ticket/5687">#5687</a> : Navigation through colors is now compatible with RTL.</li> 57 58 </ul> 58 59 <h3> -
CKEditor/trunk/_source/plugins/colorbutton/plugin.js
r5487 r5664 43 43 44 44 var keys = block.keys; 45 keys[ 39 ] = 'next'; // ARROW-RIGHT 45 var rtl = editor.lang.dir == 'rtl'; 46 keys[ rtl ? 37 : 39 ] = 'next'; // ARROW-RIGHT 46 47 keys[ 40 ] = 'next'; // ARROW-DOWN 47 48 keys[ 9 ] = 'next'; // TAB 48 keys[ 37 ] = 'prev'; // ARROW-LEFT49 keys[ rtl ? 39 : 37 ] = 'prev'; // ARROW-LEFT 49 50 keys[ 38 ] = 'prev'; // ARROW-UP 50 51 keys[ CKEDITOR.SHIFT + 9 ] = 'prev'; // SHIFT + TAB
Note: See TracChangeset
for help on using the changeset viewer.
