[wp-trac] [WordPress Trac] #31035: Polish diacritics cannot be inputted on Mac OS X in visual editor

WordPress Trac noreply at wordpress.org
Fri Jan 16 14:58:40 UTC 2015


#31035: Polish diacritics cannot be inputted on Mac OS X in visual editor
--------------------------+-----------------------------
 Reporter:  dragonee      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  4.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Tested with newest current download of Wordpress (I have tested pl_PL
 version downloaded from pl.wordpress.org) with Safari, Chrome and Firefox
 on Mac OS X Yosemite 10.10.1.

 On Mac OS X, Polish diacritics like Ł Ń Ś cannot be inputted in the
 editor. This is due the fact that TinyMCE does not distinct between
 Option_L and Option_R, like between Alt and AltGr on Windows. On Polish
 Programmer's keyboard sequences to input these diacritics are
 Option+Shift+(letter), and file '''wp-
 includes/js/tinymce/plugins/wordpress/plugin.js''' defines shortcuts as:

 {{{
 412     modKey = 'alt+shift';
 413
 414     editor.addShortcut( modKey + '+c', '', 'JustifyCenter' );
 415     editor.addShortcut( modKey + '+r', '', 'JustifyRight' );
 416     editor.addShortcut( modKey + '+l', '', 'JustifyLeft' );
 417     editor.addShortcut( modKey + '+j', '', 'JustifyFull' );
 418     editor.addShortcut( modKey + '+q', '', 'mceBlockQuote' );
 419     editor.addShortcut( modKey + '+u', '', 'InsertUnorderedList' );
 420     editor.addShortcut( modKey + '+o', '', 'InsertOrderedList' );
 421     editor.addShortcut( modKey + '+n', '', 'mceSpellCheck' );
 422     editor.addShortcut( modKey + '+s', '', 'unlink' );
 423     editor.addShortcut( modKey + '+m', '', 'WP_Medialib' );
 424     editor.addShortcut( modKey + '+z', '', 'WP_Adv' );
 425     editor.addShortcut( modKey + '+t', '', 'WP_More' );
 426     editor.addShortcut( modKey + '+d', '', 'Strikethrough' );
 427     editor.addShortcut( modKey + '+h', '', 'WP_Help' );
 428     editor.addShortcut( modKey + '+p', '', 'WP_Page' );
 429     editor.addShortcut( modKey + '+x', '', 'WP_Code' );
 }}}

 The Option key is then catched as 'alt' by the editor and diacritics
 cannot be inputted. For the note, they can be both pasted in the Visual
 Editor and inputted/pasted in Text Editor, so the problem affects only the
 Visual Editor.

 This affects all current install of Wordpress for Polish Mac users. As far
 as I know, there is also no option to disable these shortcuts in the
 administration panel.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31035>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list