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

Cannot add lines or line breaks inbetween list items without messing up the list #4480

Open
GaddMaster opened this issue Nov 4, 2024 · 0 comments

Comments

@GaddMaster
Copy link

GaddMaster commented Nov 4, 2024

When we have a multi layer list, there seems to be no way at adding lines inbetween these lists without messing up the document list ordering. I have tried many the ways shared and none work. It does work in the editor but on render its wrong, these included lines are given ordering.

Steps for Reproduction
Add a multi layer list and try add lines inbetween. If you figure that out, now render it as html on another page as one would normally.
Either use dangerouslySetInnerHTML and a div or ReactQuill & readOnly.

Expected behavior: Able add lines of text inbetween list items

Actual behavior: Gives these lines ordering

Platforms: NextJS

browsers: Firefox, Chrome

Version: react-quill ^2.0.0

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