Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Siw Ørnhaug 130 posts 109 karma points
    May 14, 2009 @ 10:17
    Siw Ørnhaug
    0

    Table behaviour in TinyMCE Umbraco v 4.0.1

    Creating a 3 column table and not putting any values in the first column before first save. All empty cells disappear. Lost a whole column + 3 last cells in third column. Can insert new column, but no easy way to insert new cells in other places.

    Solved this by putting a space in each cell. But it's irritating when you know how many rows/columns you need but you don't have all the data in place on first save.
    And it didn't work like this in previous version.

    Anyone know som config or setup trick to avoid the problem?

  • bob baty-barr 1180 posts 1294 karma points MVP
    May 14, 2009 @ 15:38
    bob baty-barr
    0

    don't have a solution, but a client just complained about the same exact issue... posting because i too am interested.

  • Bjørn Fridal 274 posts 784 karma points
    Nov 04, 2009 @ 13:18
    Bjørn Fridal
    3

    Hi,

    Just had the same problem. To solve it:

    1. Open config/tinyMceConfig.config
    2. In <validElements> find -td.
    3. Change -td to #td.

    The minus tells tinyMCE to remove empty tags and the hash sign tells it to put a space in there instead.

    You can read more here http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elements#Control_characters:

  • Nik Wahlberg 639 posts 1237 karma points MVP
    Nov 04, 2009 @ 14:06
    Nik Wahlberg
    0

    Sweet, thanks for sharing. Nylund, please mark this as the answer.

    Thanks,
    Nik

  • Dmitriy Skudnov 39 posts 64 karma points
    May 09, 2012 @ 07:36
    Dmitriy Skudnov
    0

    Hi Bjørn Fridal. It was very helpful. Working as it should be.

    BR, Dmitriy

Please Sign in or register to post replies

Write your reply to:

Draft