[wp-trac] Re: [WordPress Trac] #6199: TinyMCE fails to detect some Mac keyboard combos

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 11 19:49:46 GMT 2008


#6199: TinyMCE fails to detect some Mac keyboard combos
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  anonymous
     Type:  enhancement        |       Status:  closed   
 Priority:  lowest             |    Milestone:  2.6      
Component:  TinyMCE            |      Version:  2.5      
 Severity:  trivial            |   Resolution:  wontfix  
 Keywords:  tinymce, mac       |  
-------------------------------+--------------------------------------------
Comment (by MattyRob):

 I've found a fix.. line 7974 in tiny_mce is:


 {{{
 if ((e.keyCode >= 33 && e.keyCode <= 36) || (e.keyCode >= 37 && e.keyCode
 <= 40) || e.keyCode == 13 || e.keyCode == 45 || e.keyCode == 46 ||
 e.keyCode == 8 || e.ctrlKey)
 }}}


 Change this to:


 {{{
 if ((e.keyCode >= 33 && e.keyCode <= 36) || (e.keyCode >= 37 && e.keyCode
 <= 40) || e.keyCode == 13 || e.keyCode == 45 || e.keyCode == 46 ||
 e.keyCode == 8 || (tinymce.isMac && e.keyCode >= 91 && e.keyCode <= 93) ||
 e.ctrlKey)
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6199#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list