[wp-trac] [WordPress Trac] #28067: TinyMCE editor strips this: style="foo" while pasting

WordPress Trac noreply at wordpress.org
Tue Apr 29 21:08:28 UTC 2014


#28067: TinyMCE editor strips this: style="foo" while pasting
-------------------------------+-----------------------------
 Reporter:  billyobito         |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  TinyMCE            |    Version:  3.9
 Severity:  normal             |   Keywords:
  Focuses:  ui, accessibility  |
-------------------------------+-----------------------------
 Hello,

 I'm facing a very simple and easy to test problem, which I'm pretty sure
 is a bug. Every time I try to past a text that contains a style attribute,
 Wordpress editor strips it. So for example, if you try to paste the
 following text:


 {{{
 foo style="bar" foo
 }}}


 ... only the following will show up in the editor:


 {{{
 foo foo
 }}}

 Also, this only happens if I use 'Ctrl+V' to paste, if I right click and
 the choose 'Paste' then it works fine.

 Also, I've tested this with multiple themes and it's the same problem in
 all of them.

 Please let me know if this is indeed a bug, and what can be done about it.

 Thank you.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28067>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list