[wp-trac] [WordPress Trac] #27909: Pasting Tables from Excel Strips Tables

WordPress Trac noreply at wordpress.org
Wed Apr 23 12:28:56 UTC 2014


#27909: Pasting Tables from Excel Strips Tables
---------------------------------------+--------------------
 Reporter:  DH-Shredder                |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  3.9.2
Component:  TinyMCE                    |     Version:  3.9
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |     Focuses:
---------------------------------------+--------------------
Changes (by netweb):

 * keywords:  needs-patch => needs-patch needs-testing


Comment:

 Replying to [comment:15 spocke]:
 > Resolved this issue in TinyMCE. The code did only handle the Windows
 clipboard case where the <!--StartFragment--> and <!--EndFragment--> is
 places around the body of clipboard contents. On Mac when pasting tables
 it's added inside the table to the start of the table gets chopped of.
 >
 https://github.com/tinymce/tinymce/commit/1b7c41cd7bf61b9709145d9e15f8f8297bbb77d7

 Thanks :)


 Attached patch 27909.patch​ needs testing, can be tested with `define(
 'SCRIPT_DEBUG', true );` in wp-config

 Minified file `paste.min.js` also needed (not part of the build tools)
 and/or any further upstream 'paste' updates.

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


More information about the wp-trac mailing list