[wp-trac] Re: [WordPress Trac] #3882: An error commented in forums: tinyMCE not defined

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 10 13:59:21 GMT 2007


#3882: An error commented in forums: tinyMCE not defined
--------------------------+-------------------------------------------------
 Reporter:  josegonzalez  |        Owner:  ryan 
     Type:  defect        |       Status:  new  
 Priority:  normal        |    Milestone:  2.1.4
Component:  TinyMCE       |      Version:  2.1.2
 Severity:  normal        |   Resolution:       
 Keywords:  3nd-opinion   |  
--------------------------+-------------------------------------------------
Changes (by wpuser2):

  * keywords:  2nd-opinion => 3nd-opinion

Comment:

 My story: moved WP installation to new php (4.4.2 via fastcgi), and got
 the realtinymce error. I also noted another error, bold_img :
 \"bold.gif\",   illegal char. This aborted further javascript processing,
 causing the later realTinyMCE error to occur.

 It seems my new php escaped the quotation marks! I modified ./wp-
 includes/js/tinymce/langs/en.js  to use single quotes instead of double
 quotes, and it worked:

 bold_img : 'bold.gif',
 italic_img : 'italic.gif',
 underline_img : 'underline.gif',

 Does this solve the problem for the rest of you?

 Is there a reason to have double quotes instead of single quotes?

 Regards

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


More information about the wp-trac mailing list