add max-height to editor div