removed focus on editor when remove attachment
fix eslint rule style