[wp-trac] Re: [WordPress Trac] #9798: TinyMCE Spellchecker not working behind firewall (google spellcheck)

WordPress Trac wp-trac at lists.automattic.com
Wed May 13 11:27:15 GMT 2009


#9798: TinyMCE Spellchecker not working behind firewall (google spellcheck)
--------------------------+-------------------------------------------------
 Reporter:  bforchhammer  |       Owner:  azaozz                      
     Type:  enhancement   |      Status:  new                         
 Priority:  normal        |   Milestone:  2.8                         
Component:  TinyMCE       |     Version:  2.8                         
 Severity:  normal        |    Keywords:  has-patch proxy spellchecker
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 mm... this won't work:

 {{{
 preg_replace('~&#x([0-9a-f]+);~i', 'chr(hexdec("\\1"))', $string);
 }}}

 the preg_replace with /e and the replacement chunk actually needs to be
 replaced by a preg_replace_callback that does a similar thing (e.g.
 r11098)

 I've no idea of how the spellcheck exceptions work with GoogleSpell, but
 what you did "feels" right at first glance.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9798#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list