[wp-trac] Re: [WordPress Trac] #9874: extended and invalid elements for tinymce

WordPress Trac wp-trac at lists.automattic.com
Tue May 19 18:32:30 GMT 2009


#9874: extended and invalid elements for tinymce
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  azaozz
     Type:  defect (bug)       |      Status:  new   
 Priority:  normal             |   Milestone:  2.8   
Component:  TinyMCE            |     Version:  2.8   
 Severity:  normal             |    Keywords:        
-------------------------------+--------------------------------------------

Comment(by azaozz):

 Many users copy and paste content from web pages and that usually inserts
 a number of html tags and styling without them realizing it (depending on
 the browser). Since the <iframe> has some security risks, better to enable
 it only for users that require it (via a plugin).

 Also <iframe> is invalid in both HTML 4.1 Strict and XHTML 1.0 Strict and
 many themes use the strict DTD.

 We can match the restrictions from kses in `invalid_elements` for non-
 admin users, although it would probably bring some "the editor mangles my
 code" complains.

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


More information about the wp-trac mailing list