Copied to clipboard

Flag this post as spam?

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


  • Jay Dobson 75 posts 121 karma points
    Mar 08, 2011 @ 14:59
    Jay Dobson
    0

    Custom width for different TinyMCE editors. Possible?

    Hi All,

    Is it possible to set a width for different TinyMCE editors?  I know that the width for all rich text fields can be set within the rich text document type, but I'd like to have a different width for different fields.  I was trying to hijack this via jQuery/JavaScript to get the ID of the container and based on the ID give it a specific width, but I'm not having much luck.  I have a "side bar" field that I'd like to be only 250px wide, whereas the main content area should be 700px wide.

    Thanks,

    Jay

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Mar 08, 2011 @ 15:03
    Hendy Racher
    0

    Hi Jay,

    Why not create a seperate datatype for each of the fields - (something like SideBarRichText and ContentRichText datatypes) - both of these datatypes can then be set to use the same TinyMCE control for their respective render controls, but each can configure it differently...

    HTH,

    Hendy

  • Jay Dobson 75 posts 121 karma points
    Mar 08, 2011 @ 16:26
    Jay Dobson
    0

    Ahhh, I still have a lot to learn.  That's perfect!  Thanks!

  • 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