Table cells – value being removed.

  • Unknown's avatar

    Table cells with “0” as the content, remove the content from the cell on the server side.

    i.e. the following example (see http://henrywardy.wordpress.com/mnf/test/):
    <table>
    <tbody>
    <tr>
    <td>1</td>
    <td>0</td>
    </tr>
    </tbody>
    </table>

    Only the 1 is shown. The html returned is:

    <table>
    <tbody>
    <tr>
    <td>1</td>
    <td></td>
    </tr>
    </tbody>
    </table>

    What’s going on? I’ve only noticed this in the last week or so.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I hope this helps. See this answer from WordPress staff:

    Hi all,
    A change that we made last week is causing the Visual Editor to strip out attributes on table tags.

    To work around this for now, you will need to use the Text editor on any posts where you have tables. If you switch back to the Visual Editor before saving changes on those posts, the attributes will be deleted, so please make sure you save your changes if you switch back to using the Visual Editor.

    The developers do know about this, and we’ll keep you all up to date once we know anything further. https://en.forums.wordpress.com/topic/html-tags-changed-from-visual-to-text?replies=7#post-1040004

  • The topic ‘Table cells – value being removed.’ is closed to new replies.