We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Steps to reproduce the bug
Thisisasingleparagraphwithlinebreaks.
The text was updated successfully, but these errors were encountered:
Hey, it’s the same behavior at https://prosemirror.net/ so it’s not a bug with tiptap itself.
What you can do for now is to define a custom renderText method for the HardBreak extension:
renderText
HardBreak
const CustomHardBreak = HardBreak.extend({ renderText() { return '\n' }, })
Sorry, something went wrong.
That's an elegant solution. Thank you!
fix: render line break in text/plain format for hard breaks, fix #1842
787d784
I decided to put that into the extension!
@philippkuehn How can we use it now in the extension? it says "Duplicate extension names found [hardBreak]"
No branches or pull requests
Steps to reproduce the bug
The text was updated successfully, but these errors were encountered: