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
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
.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
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
.
The text was updated successfully, but these errors were encountered: