You can modify the field attribute to adjust the height of the WSS Text Editor (RTE Editor), but how can you adjust the width?
One method:
Use js to obtain the IFRAME of the editor and modify its width.
Add the following js to the current dashboard page of the site </Bogy>: < Script Type = " Text/JavaScript " >
// -------------------------------------------------------------------
// Change RTE editor widht JS by jianyi0115@163.com
// Add this JS file to master file, before </body>
// -------------------------------------------------------------------
VaR _ Tk_ariframes = Document. getelementsbytagname ( " IFRAME " );
For ( VaR C = 0 ; C < _ Tk_ariframes.length; c ++ )
{
If (_ Tk_ariframes [C]. classname = " MS-rtelong " )
{
_ Tk_ariframes [C]. style. Width = " 600px " ;
}
}
< / SCRIPT>
Or: directly modify the CSS:
<Style>
. MS-rtelong
{
Width: 600px;
}
</Style>