fixed markdown option init in editor. fix #222