Skip to content

Question Regarding Paragraph Indentation on Enter Key in Quill Editor #2514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task
Devktw opened this issue Mar 14, 2025 · 0 comments
Open
1 task

Question Regarding Paragraph Indentation on Enter Key in Quill Editor #2514

Devktw opened this issue Mar 14, 2025 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Devktw
Copy link

Devktw commented Mar 14, 2025

Have you checked for an existing issue?

Use case

I have a quick question regarding the paragraph indentation feature in the Quill Editor. I am trying to implement an indent (e.g., 15 spaces or a tab) when the user presses the Enter key, but only if the alignment of the current paragraph (block) is set to left.

Currently, I'm using getSelectionStyle() to retrieve the alignment of the selected text, but it doesn't seem to properly detect the alignment of the block where the cursor is positioned (e.g., paragraph).

Proposal

.

@Devktw Devktw added the enhancement New feature or request label Mar 14, 2025
@CatHood0 CatHood0 added help wanted Extra attention is needed feedback requested Seeking user input to improve features, resolve issues, or plan future updates. and removed enhancement New feature or request feedback requested Seeking user input to improve features, resolve issues, or plan future updates. labels Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants