• Resolved JohnStaples

    (@johnstaples)


    We recently noticed TinyMCE Advanced is adding inline widths/heights on table cells and this is creating a big mess of our tables! We do not ever want inline widths/heights added to tables as we are using responsive tables and this breaks them.

    I did some searching and found this has been a problem for 6 or 7 months. I temporarily resolved the problem by rolling back to version 4.6.7 and it is working perfectly.

    Are there any plans to fix this in an upcoming version of TinyMCE Advanced?

    Thanks for your support!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    Yes, this was a change in the TinyMCE table plugin, and yes, planning to add couple more options to TinyMCE Advanced for tables.

    As of the latest version 5.0.1 of TinyMCE Advanced tables should not get any inline styles as long as the user doesn’t resize them by dragging.

    I’ve been wondering why my tables have been misbehaving so badly. WP adds widths (often to many many decimal places) and then doesn’t set the overall table width to their sum, resulting in cells that don’t fill the width. Heights become aberrant again with mismatch.

    Dragging is really essential. As is being able set a fixed table width or a percentage table width (and expect the columns to follow suit).

    Hoping we see an adjustment for this soon. In the meantime one possible fix is to select all rows and tables, then using the table menu, set height and width for rows and tables to 100%. This may not work for all themes.

    Plugin Author Andrew Ozz

    (@azaozz)

    This was actually fixed (and improved) in the latest TinyMCE Advanced version ?? (sorry I forgot to post here).

    Now there are a few “advanced options” just for tables, and two new buttons (in the Format menu). Please have a look.

    The options lets you disable resizing of tables by dragging. This prevents adding of inline styles on <tr> and <td>. The buttons are to remove all inline sizes or all formatting from tables (as the standard “Clear formatting” button doesn’t do that).

    • This reply was modified 5 years, 10 months ago by Andrew Ozz.

    Sweet! Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘TinyMCE Advanced Adding Inline Widths/Heights on Table Cells’ is closed to new replies.