make min-height on editor CM work better