fix the css of boder in editor