Fixed  Insert code overlay bug


Well-known member
I just noticed the following and not seen it mentioned previously.

If you click the "insert code" button it pops up an overlay where you can drag the corner to expand. It expands the text input area but the overlay doesn't resize which means you can lose the text, insert buttons, etc as they disappear outside the bounds of the overlay.

This is what happens when I drag the corner to expand the input box:

Screen shot 2011-07-06 at 08.40.50.png

This is in Firefox 5 on OSX.


XenForo developer
Staff member
This is a relatively easy fix:

in the editor_dialog_code template, find <textarea name="code" and add resize: none to its style rules.
<textarea name="code" id="ctrl_code" class="textCtrl code"
	style="display: block; width: 98%; height: 100px; resize: none">