humhub-prosemirror icon indicating copy to clipboard operation
humhub-prosemirror copied to clipboard

<pre> element in Markdown - Doesn't work

Open Gilbertdelyon opened this issue 1 year ago • 0 comments

Steps to reproduce: Copy some text from a plain-text email (Thunderbird) Paste it in Markdown editor (a post, a comment or a message). And you will get this: image This is because in the plain-text email the text is embeded in a <pre> element.

Now if you paste the same <pre> element in the markdown editor of a custom page text element you will get this: image There it works !

It also works if I paste the same element in Github text editor.

So, the question is: Is this the normal behaviour of editor in post, comment and message? Or is it a bug?

Gilbertdelyon avatar Mar 01 '23 23:03 Gilbertdelyon