[wp-trac] [WordPress Trac] #41371: Copy & paste of html tables stopped working

WordPress Trac noreply at wordpress.org
Wed Jul 19 23:05:57 UTC 2017


#41371: Copy & paste of html tables stopped working
--------------------------+-----------------------------
 Reporter:  irzig         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Dear WordPress team,
 we are experiencing a problem after upgrading to 4.8. Copy and Paste of
 tables using the visual editor copies only the content of the first cell.

 Steps to reproduce:
 1. create a new article
 2. insert a new table by changing to text mode and pasting the following
 html code:
 {{{
 <table><tbody><tr><td>R1C1</td><td>R1C2</td></tr><tr><td>R2C1</td><td>R2C2</td></tr></tbody></table>
 }}}
 3. go back to visual mode
 4. create a copy of the table (Ctrl+C, Ctrl+V)

 Expected result: two copies of the same table, and this worked reliably a
 couple of weeks ago

 Actual result: Only the content of the first cell (R1C1 in this case) is
 pasted.

 I also tried, instead of step 2, to create a table in Word (or rather
 LibreOffice) and copy it over to the editor. However, same result after
 step 4.

 Please, can anybody verify that this is a bug?

 Since it also is about losing information by copying, I feel like this
 might be related to #41026.

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


More information about the wp-trac mailing list