Change default behaviour to allow both horizontal and vertical resizing of editor