Skip to content
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

Adding extra space between content and list items in Angular. Where as we don't need this space. #4164

Open
IVallabharayudu opened this issue May 2, 2024 · 0 comments

Comments

@IVallabharayudu
Copy link

I am using ngx-quill for my angular project.
Whenever I have added list items which is having header on top of it, the list items are taking some gap between the header and the list items.

Steps for Reproduction

  1. Visit https://stackblitz.com/edit/ngx-quill-angular-tjkcgx?file=src%2Fapp%2Fapp.component.html
  2. In app.component.ts, if we observe I am adding html as htmlText = '<p>Testing List gap between list items and above header</p><ol><li>one</li><li>two</li></ol>';
  3. Now observe editor in preview it's added one extra paragraph with break tag

Expected behavior:
It should not add that extra paragraph tag

Actual behavior:
Adding one paragraph extra like below image
image

Platforms:

Google Chrome, Windows 11

Version:

Run Quill.version to find out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant