added medium-style editor