[wp-trac] [WordPress Trac] #38511: Copy paste a long shortcode wpview (video, gallery... ) is broken in Firefox

WordPress Trac noreply at wordpress.org
Thu Nov 17 03:16:08 UTC 2016


#38511: Copy paste a long shortcode wpview (video, gallery... ) is broken in
Firefox
------------------------------+-----------------------------
 Reporter:  bduclos           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  TinyMCE           |     Version:  4.6.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by azaozz):

 * keywords:   => has-patch commit


Comment:

 Replying to [comment:14 iseulde]:

 38511.6.patch looks good. In 38511.7.patch also added the removal of line
 breaks from shortcodes from 38511.4.patch (props @gitlost). Moved it to
 `createInstance()` as discussed in Slack, but it makes sense to try to fix
 that in Firefox for all pasted content. Not sure if we should do that,
 probably better to be handled upstream in the `paste` plugin.

 Also noticing (non-fatal) mediaelement.js errors in Firefox and IE11 when
 switching to the Text editor while a movie is playing. Seems pausing the
 player and removal of player instances fails in these browsers. This is
 not caused by the above patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38511#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list