editor icon indicating copy to clipboard operation
editor copied to clipboard

The linebreak (shift+enter) is removed before <u> (underline formatting) during conversion.

Open shcherbyna-d opened this issue 2 years ago • 5 comments

Hello! Cool library, but... The new line is removed before (underline formatting). Example. In the textbox I type: "123 underlinedString"

In the output (ref.current.getMarkdown()) I get "123 underlinedString". Yes, with space between strings. This problem I see only with the new line before . I am using basic settings, just toolbarPlugin.

shcherbyna-d avatar Nov 24 '23 09:11 shcherbyna-d

I'm sorry but, I'm not sure what you mean here. Is the problem reproducible on the website demo?

If not, I'll need a sandbox with your settings and instructions on how to reproduce what you describe.

petyosi avatar Nov 24 '23 10:11 petyosi

I think I got what you mean, let me confirm - do you use shift+enter for the newline before the u formatting?

petyosi avatar Nov 24 '23 10:11 petyosi

I'm sorry but, I'm not sure what you mean here. Is the problem reproducible on the website demo?

If not, I'll need a sandbox with your settings and instructions on how to reproduce what you describe.

Yes, it reproducible on the website demo

shcherbyna-d avatar Nov 24 '23 10:11 shcherbyna-d

I think I got what you mean, let me confirm - do you use shift+enter for the newline before the u formatting?

Yes, I use this combination.

shcherbyna-d avatar Nov 24 '23 10:11 shcherbyna-d

Are there any updates on this? If you write

test[shift+enter]test
test test

then select the every other test and mark them as underlined, go to markdown (source), cut and paste, then you lose the shift+enter linebreak.

AnderssonPeter avatar May 06 '24 09:05 AnderssonPeter