5514 Posts in 1733 Topics by 1219 members
|Go to End|
27 March 2010 at 11:31am
Would it be possible to customise TinyMce in such a way that it looks more like my website? The main container on my website is 800 px wide so it would be helpfull if the page in TinyMce would be 800 pc wide as well?
28 March 2010 at 10:19am Last edited: 28 March 2010 10:21am
Adding the code below to your getCMSFields() function in Page.php should do the trick. You might need to play around with some more CSS to make it look good, but this should get you started:
note that this will only change the Content field, if you have other custom HTML editor fields then you will need to add CSS for them too.
www.ssbits.com - SilverStripe tutorials, tips and other bits
|Go to Top|