Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
feat: support create paragraph in sheet cell (#415)
Ran Luo93320e105fb7
diff --git a/packages/ui-plugin-sheets/src/controllers/shortcuts/editor.shortcut.ts b/packages/ui-plugin-sheets/src/controllers/shortcuts/editor.shortcut.tsindex 2f1ea93897..174d6fc382 100644--- a/packages/ui-plugin-sheets/src/controllers/shortcuts/editor.shortcut.ts+++ b/packages/ui-plugin-sheets/src/controllers/shortcuts/editor.shortcut.ts@@ -1,6 +1,6 @@import { BreakLineCommand, DeleteLeftCommand } from '@univerjs/base-docs';import { DeviceInputEventType } from '@univerjs/base-render';-import { IShortcutItem, KeyCode } from '@univerjs/base-ui';+import { IShortcutItem, KeyCode, MetaKeys } from '@univerjs/base-ui';import { FOCUSING_EDITOR } from '@univerjs/core';import {@@ -71,7 +71,7 @@ export const EditorCursorEscShortcut: IShortcutItem = {export const EditorBreakLineShortcut: IShortcutItem = {id: BreakLineCommand.id,preconditions: (contextService) => contextService.getContextValue(FOCUSING_EDITOR),- binding: KeyCode.ENTER,+ binding: KeyCode.ENTER | MetaKeys.ALT,};export const EditorDeleteLeftShortcut: IShortcutItem = {