editor: fix the 100% height of main div