Skip to content

fix: newlines do not work in block quotes - #853

Merged
nikkothari22 merged 1 commit into
developfrom
844-bug-newlines-dont-work-in-quotes
Apr 11, 2024
Merged

fix: newlines do not work in block quotes#853
nikkothari22 merged 1 commit into
developfrom
844-bug-newlines-dont-work-in-quotes

Conversation

@prathameshkurunkar7

@prathameshkurunkar7 prathameshkurunkar7 commented Apr 11, 2024

Copy link
Copy Markdown
Contributor

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
@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