static acceptSelection(
    editorState: EditorState,
    selection: SelectionState,
  ): EditorState {
    return updateSelection(editorState, selection, false);
  }
Incorporate native DOM selection changes into the EditorState. This
method can be used when we simply want to accept whatever the DOM
has given us to represent selection, and we do not need to re-render
the editor.

To forcibly move the DOM selection, see `EditorState.forceSelection`.