Copied to clipboard

Flag this post as spam?

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


  • Maarten Boer 61 posts 82 karma points
    Feb 22, 2010 @ 21:49
    Maarten Boer
    0

    TimyMCE Table

    The TinyMCE works great with the richbox.

    One small problem when creating tables.

    As far as i can tell i can't adjust the width of colums. With some knowledge of HTML it's easy to edit the table in HTML after you insert it so i van adjust the width of TR's and TD's. But for dummys this is too much to ask.

    Could this be a setting in TinyMCE's configuration ?  or some other setting or not possible at all...

     

    Maarten

  • Len Dierickx 150 posts 92 karma points
    Feb 23, 2010 @ 14:26
    Len Dierickx
    0

    HI Maarten,

    I had the same problem, and you can specify that the width is moved to a style attribute.

    You should add the following to the config file for tinymce: /config/tinyMceConfig.config

    Allow inline stylesheets:

    <customConfig>
    <!--    <config key="myKey">mySetting</config>-->
        <config key="entity_encoding">raw</config>
        <config key="inline_styles">true</config>
      </customConfig>

    change the validElements like this:

    -table[width|height|style|border=0|cellspacing=1|cellpadding=0|class|summary|dir|id|lang]
  • Johan Möller 83 posts 137 karma points
    Feb 24, 2010 @ 13:50
    Johan Möller
    0

    Dont get why we cant change width. in most CMS u can do this. It gets to hard for a client end user otherwise

  • Maarten Boer 61 posts 82 karma points
    Feb 25, 2010 @ 12:13
    Maarten Boer
    0

    OK Thanks Johan.... clear answer.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies