Forum closed. New forum available at http://community.wymeditor.org/

inline styles

Support forum for WYMeditor.

inline styles

Postby tea on Thu Nov 15, 2007 1:53 am

Hi and thank you for the great editor,

I have limited space and would like to move the right hand container/classes so the textarea will go 100% width.

But I cant figure out how with the inline styles in jquery.wymeditor.js

Code: Select all
.css({"margin-right": "155px"});


Will I need to make change in wymeditor.js and then repack?

Code: Select all
      // auto add some margin to the main area sides if left area
      // or right area are not empty (if they contain sections)
      jQuery(this._box).find("div.wym_area_right ul")
        .parents("div.wym_area_right").show()
        .parents(this._options.boxSelector)
        .find("div.wym_area_main")
        .css({"margin-right": "155px"});

      jQuery(this._box).find("div.wym_area_left ul")
        .parents("div.wym_area_left").show()
        .parents(this._options.boxSelector)
        .find("div.wym_area_main")
        .css({"margin-left": "155px"});


Many thanks
tea
 
Posts: 1
Joined: Thu Nov 15, 2007 1:27 am

Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests