diff --git a/packages/roosterjs-content-model-plugins/lib/edit/EditPlugin.ts b/packages/roosterjs-content-model-plugins/lib/edit/EditPlugin.ts index 87c4779ea85..c94899fe0af 100644 --- a/packages/roosterjs-content-model-plugins/lib/edit/EditPlugin.ts +++ b/packages/roosterjs-content-model-plugins/lib/edit/EditPlugin.ts @@ -181,7 +181,8 @@ export class EditPlugin implements EditorPlugin { break; case 'Enter': - if (!hasCtrlOrMetaKey) { + if (!hasCtrlOrMetaKey && event.rawEvent.keyCode == 13) { + // Safari responds to the EnterKey from IM, where IM should handle the key and the keycode is not 13. keyboardEnter(editor, rawEvent, this.handleNormalEnter); } break;