[wp-trac] Re: [WordPress Trac] #6651: editor.js is not doing any cleanup when TinyMCE is displayed first

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 9 18:44:47 GMT 2008


#6651: editor.js is not doing any cleanup when TinyMCE is displayed first
----------------------+-----------------------------------------------------
 Reporter:  PozHonks  |        Owner:  anonymous
     Type:  defect    |       Status:  closed   
 Priority:  normal    |    Milestone:           
Component:  TinyMCE   |      Version:  2.5      
 Severity:  normal    |   Resolution:  invalid  
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by azaozz):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  2.5.1 =>

Comment:

 When the editor is started in Visual mode (TinyMCE) the content is passed
 through the php wpautop() that puts back the stripped <p> tags. The same
 happens when the editor is started in HTML mode and later switched to
 Visual mode, this time the js version of wpautop() is run that is defined
 in editor.js.

 The output from TinyMCE is XHTML 1.0 compliant, so if there are
 tags/attributes that are not in XHTML 1.0, TinyMCE would replace them with
 the equivalents, like <font color="white"> would be <span
 style="color:white">, etc.

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


More information about the wp-trac mailing list