[wp-trac] [WordPress Trac] #21157: disapearing class=anything when ctrl+c & ctrl+v in tinymce editor

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 4 18:46:12 UTC 2012


#21157: disapearing class=anything when ctrl+c & ctrl+v in tinymce editor
--------------------------+-----------------------------
 Reporter:  thomask       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  3.4
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 type

 {{{
 Lorem class=anything Ipsum
 }}}

 anywhere. Copy the text and paste it to the WP's WYSIWYG editor. The
 result is just

 {{{
 Lorem Ipsum
 }}}

 I have tried it with tinymce demo on their site and it works normaly, so
 it seems that only wp editor is affected.

 The same wrong result is with class="anything", when using spaces around
 equal symbol (class = anything), it works normaly. Seems like some poorly
 written attemp to remove classes from pasted text (it does not affect id
 or other tag parameters i have tested)

 P.S.: i am using Chrome if it makes some diference

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


More information about the wp-trac mailing list