Closed Rosey closed 6 years ago
I guess this is basically because of markdown syntax rules so it is "correct" although it feels whacky.
I'm going to pull request an option where users can enable non-collapsing whitespace if they so desire.
Sorry I have a branch that does this but I'm still conflicted over whether this should even be an option since it kind of skews the rules of markdown, so I haven't PR'd it yet. So lmk if you're waiting on this or really want it!
@Rosey I totally need/want this :D - or a client does, would be happy to help get it in :heart:
sweeeeet thank you @Rosey 👍 👍 👍
Let me know if you encounter any weirdness with it! Fingers crossed that is is bug free 🤞 😁
@Rosey if there is I'll make a pr ✌️
this is so perfectly on time btw 😍 thank you again!
If you check out the example, when you modify the textarea, a newline always only counts as 1, even if you have 3 in a row.
But when you modify the draft editor, each newline is converted 1:1 to markdown. This behaviour is more desireable than the markdown-to-draft behaviour!