how to change the doc but without focus to the editor view ?

I know that view.dispatch({from,to,insert}) can change the doc , but when I call this, the view focused , I don’t want this focus action

Dispatching a doc change definitely does not focus the view. Something else must be going on.

yes , you are right , thank you very much