Enable Paragraphs with Enter Key#117
Open
oupadhyay wants to merge 1 commit into
Open
Conversation
…date editor Enter shortcut to Meta+Enter.
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the editor experience by enabling natural paragraph creation using the Enter key, adjusts paragraph styling, and updates the submit shortcut to prevent accidental submissions.
- Updated submit keyboard shortcut from Enter to Meta+Enter
- Improved paragraph styling in the editor's SCSS
- Adjusted package configuration and dependency versions for improved testing and module resolution
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/renderer/pages/Pile/Editor/index.jsx | Updated keyboard shortcut mapping for submitting the editor content |
| src/renderer/pages/Pile/Editor/ProseMirror.scss | Improved styling for paragraphs, preformatting and horizontal rules |
| package.json | Updated dependency versions and added module aliases |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey @UdaraJay,
This PR addresses the need for more natural paragraph creation within the editor, improves paragraph styling, and updates the editor's submit shortcut for better usability.
blur.mp4