diff --git a/packages/roosterjs-editor-adapter/lib/editor/EditorAdapter.ts b/packages/roosterjs-editor-adapter/lib/editor/EditorAdapter.ts index 89d4c0edeea..1dc47fbbe90 100644 --- a/packages/roosterjs-editor-adapter/lib/editor/EditorAdapter.ts +++ b/packages/roosterjs-editor-adapter/lib/editor/EditorAdapter.ts @@ -219,7 +219,7 @@ export class EditorAdapter extends StandaloneEditor implements IEditor { const selection = insertNode(contentDiv, this.getDOMSelection(), node, option); - if (selection) { + if (selection && option.updateCursor) { this.setDOMSelection(selection); } } diff --git a/versions.json b/versions.json index 8f58f18e317..9a40449ae7e 100644 --- a/versions.json +++ b/versions.json @@ -1,7 +1,7 @@ { "packages": "8.60.0", "packages-ui": "8.55.0", - "packages-content-model": "0.26.1", + "packages-content-model": "0.26.2", "overrides": { "roosterjs-editor-plugins": "8.60.2", "roosterjs-editor-adapter": "0.26.0"