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

fix: newlines do not work in block quotes #853

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

prathameshkurunkar7
Copy link
Member

@prathameshkurunkar7 prathameshkurunkar7 commented Apr 11, 2024

fix: newlines do not work in block quotes

Problem:
CustomBlockQuote Renderer was containing the textContent of the incoming node directly inside Blockquote, hence a single line was getting displayed.

Solution:
Removed CustomBlockQuote renderers in both mobile and web.
web : Applied styles for tiptap-renderer directly on blockquote through css (default option enabled in TipTap renderer)
mobile : Applied tailwind css classes inside blockquote's HTML Attributes in useEditor.

This PR closes #844 and #623.

@prathameshkurunkar7 prathameshkurunkar7 marked this pull request as ready for review April 11, 2024 15:48
@nikkothari22 nikkothari22 merged commit 1f3a38a into develop Apr 11, 2024
3 of 4 checks passed
@nikkothari22 nikkothari22 deleted the 844-bug-newlines-dont-work-in-quotes branch April 11, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Newlines don't work in quotes
2 participants