WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #38120, comment 5


Ignore:
Timestamp:
11/12/2016 08:36:22 PM (3 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38120, comment 5

    initial v1  
    1010I don't think any of this is caused by a bug in the editor. It removes all spans with inline styles on paste in order to output clean HTML that will work properly with any theme.
    1111
    12 The other problem I'm seeing in the HTML is that the two tables have been resized by dragging the edges to be very "short". That makes them overflow. Best is to remove the `height` attributes. That will let the browser style the tables properly on display.
     12The other problem I'm seeing in the HTML is that the two tables have been resized by dragging the edges to be very "short". That makes them overflow. Best is to remove the inline styles from the table tags. That will let the browser style the tables properly on display.
     13
     14From this:
     15{{{
     16<table class=" aligncenter" style="width: 768px; height: 1338px;" border="0">
     17}}}
     18
     19to this:
     20{{{
     21<table class="aligncenter" border="0">
     22}}}