You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…g - Import splitBlock from prosemirror-commands for line break functionality - Modify Enter key handler to use conditional logic: Exit editor on empty paragraph or at end of single-line text, Create new paragraph/line break for normal text editing - Resolves issue where users couldn't insert line breaks in text elements - Fixesonlook-dev#2065
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:
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.
The text was updated successfully, but these errors were encountered: