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

Added a transform rule to not convert <br/> tags to paragraph tags #1330

Merged

Conversation

AbhayVAshokan
Copy link
Member

  • Fixes Space issue when copied from Google doc #1308

  • Added a custom transformPastedHTML rule to convert <br /> tags to <p></p> tags. The default behavior of TipTap is to convert <br /> tags to <p><br /></p> tags causing a duplicate new line in the pasted content.

@AbhayVAshokan _a patch _t

@neetogit-bot neetogit-bot bot added the patch Releases small requests or bug fixes. label Feb 21, 2025
@AbhayVAshokan AbhayVAshokan merged commit 317c70b into main Feb 21, 2025
@neetodeploy neetodeploy bot temporarily deployed to neeto-editor-ht2z-pr-1330 February 21, 2025 14:50 Inactive
@AbhayVAshokan AbhayVAshokan deleted the 1308-space-issue-while-copying-content-from-google-docs branch February 21, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Releases small requests or bug fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Space issue when copied from Google doc
1 participant