[wp-trac] [WordPress Trac] #9042: Duplicate id "comment_parent" when using TinyMCE on comments

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 4 11:31:32 GMT 2009


#9042: Duplicate id "comment_parent" when using TinyMCE on comments
--------------------------+-------------------------------------------------
 Reporter:  bforchhammer  |       Owner:  anonymous              
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  2.7.1                  
Component:  General       |     Version:  2.7                    
 Severity:  normal        |    Keywords:  tinymce, comment, domid
--------------------------+-------------------------------------------------
 When adding a tinymce editor to the comments tinymce adds the wysiwyg
 editor to the dom inside a new span element. This span element
 automatically gets the id "{textarea_id}_parent" which in case of the
 comment textarea is "comment_parent".

 The new comment form in wp2.7 also requires a hidden input field
 "comment_parent" for the threaded comments (and inline reply) to work.

 Having the same id twice is (apart from being invalid according to w3c
 standards) causing problems with the tinymce integration...

-- 
Ticket URL: <http://trac.wordpress.org/ticket/9042>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list