console
console copied to clipboard
Fixes for Editor switching to next field on pressing Enter
What does this PR do?
Fixes for Editor switching to next field on pressing Enter inside text area specific to Body component in Execution Create
Fixes https://github.com/appwrite/appwrite/issues/10607
Test Plan
Reproduction Steps:
- Go to the website and navigate to the Create Execution page in Appwrite.
- In the Body section, open the text editor to enter request content.
- Start typing some text.
- Press Enter or Shift+Enter inside the editor.
The cursor goes to the next line but the Accordion closes when user presses Enter key.
Check the attached recording for reference
https://github.com/user-attachments/assets/673b0f03-f0f3-4f99-ac96-1dbd98819a0a
Related PRs and Issues
- https://github.com/appwrite/appwrite/issues/10607
Have you read the Contributing Guidelines on issues?
Yes
Summary by CodeRabbit
- Bug Fixes
- Prevents Enter in request body textareas from triggering parent actions, improving multiline editing.
- Accessibility
- Improved keyboard/interaction handling and semantic role for request body inputs to enhance usability for keyboard and assistive technology users.