resize editor on resize event. remove fixRules for now.