use editor-autoresize re #111 to size