[wp-trac] [WordPress Trac] #26762: Visual Editor Strips Shortcode Attributes When Pasting

WordPress Trac noreply at wordpress.org
Fri Jan 3 13:25:29 UTC 2014


#26762: Visual Editor Strips Shortcode Attributes When Pasting
--------------------------+-----------------------------
 Reporter:  cliffseal     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  3.8
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 In Visual mode, pasting a shortcode with attributes, like`[myshortcode
 attribute="this"`, strips the attributes, so that only `[myshortcode]` is
 pasted.

 It appears to strip them out on paste, as it works in Text mode, and
 copying from Text mode, switching to Visual, then pasting doesn't work,
 either.

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


More information about the wp-trac mailing list