Skip to content

[bug] Cannot insert line break in text element using Enter, Ctrl+Enter, or Command+Enter #2065

@ghost

Description

Summary:
Text elements do not accept line breaks. Pressing Enter (or modifiers like Ctrl/Command + Enter) has no effect, preventing multi-line input.

Steps to reproduce:

  1. Select a text element on the canvas.
  2. Begin editing the text.
  3. Press Enter, Ctrl+Enter, or Command+Enter to insert a new line.

Actual result:
No line break is added.
The text remains on a single line, regardless of key combination used.
https://github.com/user-attachments/assets/fe831b29-0a40-4dba-8d22-4416b0cb5303

Expected result:
A new line should be inserted at the cursor position, allowing for multi-line text input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions