add remove format for editor