add auto-resize on the editor width auto on container