add editor style

Added a parameter[editorStyle] in opts, so we can modify the shape of the editor In the initialization