fix some config item

add config item enter mode
fix the default value of editor width and height