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.
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...
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
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
Ahhh, I still have a lot to learn. That's perfect! Thanks!
is working on a reply...