MyBB Community Forums

Full Version: MessageEditor Height /width
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Were can i edit the height and width of the messageEditor
You will need to do it in: public_html/jscripts/editor.js

I'm not too good with Javascript, but I'm assuming the width/height is found in this statement:

		// Determine the overall height and width - messy, but works
		w = oldTextarea.getDimensions().width+"px";
		if(!w || parseInt(w) < 400)
		{
			w = "400px";
		}
		if(this.options && this.options.height)
		{
			h = this.options.height;
		}
		else if(oldTextarea.offsetHeight)
		{
			h = oldTextarea.offsetHeight+"px";
		}
		else if(oldTextarea.clientHeight)
		{
			h = oldTextarea.clientHeight+"px";
		}
		else if(oldTextarea.style.height)
		{
			h = oldTextarea.style.height;
		}
		else
		{
			h = "400px";
		}

I may be wrong though Undecided
Thanks alot ill try that.
No , doesnt seem to do anything Sad
Try editing the css of it. jscripts/editor_themes/themename (default of office 2007) /stylesheet.css
Yes ive tried that also , still no good Sad