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

Multi-line paragraphs in list items in RichTextEditor have the marker bottom aligned #7254

Closed
2 tasks done
QuinnStraus opened this issue Dec 13, 2024 · 0 comments · Fixed by #7255
Closed
2 tasks done

Comments

@QuinnStraus
Copy link
Contributor

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.15.1

What package has an issue?

@mantine/tiptap

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

Chrome

Describe the bug

List item markers on multi-line text in the RichTextEditor are aligned to the bottom of the text block rather than the top as they should. This can be verified on the RichTextEditor demo in the docs.

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

It seems this is caused by a display: inline-block css rule applied to all li > p that are children of the rich text editor component. Removing this rule via inspect element fixes the problem. This was added in 7aac29f, not sure what the fix was intended to address.

Self-service

  • I would be willing to implement a fix for this issue
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

Successfully merging a pull request may close this issue.

1 participant