Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] lists generate markdown with extra linebreaks between different nodes #693

Closed
2 tasks done
yosef-ai-work opened this issue Feb 9, 2025 · 4 comments
Closed
2 tasks done
Assignees
Labels
bug Something isn't working released

Comments

@yosef-ai-work
Copy link
Contributor

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • I have read the documentation and cannot find an answer.

Describe the bug
When inside a list (both ordered and unordered) and using different nodes (e.g. originally faced with custom-directives, but same with simple nodes like bold and italic)

Steps toReproduction

  1. Go to Live Demo
  2. Clear all. add a list
  3. Write text, while switching between normal/bold/italic (one line)
  4. Go to "Source Mode" - there are blank lines between texts

Expected behavior
The output markdown suppose to reflect what user wrote, and what is currently displayed in the editor. Instead its insert extra linebreaks. Same is the data received in onChange event

Screenshots
editor:

Image
source:

Image

loom:
https://www.loom.com/share/2ca00b7b6b7948d6aec8fab2fed25477

@yosef-ai-work yosef-ai-work added the bug Something isn't working label Feb 9, 2025
@petyosi petyosi self-assigned this Feb 9, 2025
@petyosi
Copy link
Contributor

petyosi commented Feb 9, 2025

Thank you for the report. I'm somewhat suspicious that this is a regression from here: b743fb9.

@petyosi petyosi closed this as completed in 4dfb655 Feb 9, 2025
Copy link

github-actions bot commented Feb 9, 2025

🎉 This issue has been resolved in version 3.21.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@yosef-ai-work
Copy link
Contributor Author

Thank you for the report. I'm somewhat suspicious that this is a regression from here: b743fb9.

Reverting to v3.20.0 do not solve it

@yosef-ai-work
Copy link
Contributor Author

🎉 This issue has been resolved in version 3.21.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Thanks for the quick fix!
However, I still facing the same issue on ordered list. Can you fix there as well? Thanks alot!

Image

Image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

2 participants