-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
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
Very Weird and Annoying Behavior of Messing up Pasted Text in Markdown Mode Editor #15624
Comments
To add up, I also tried to copy these test texts from |
@krassowski can you validate the above bug? Recently I am working a lot the markdown mode, it is really annying >..< |
At a quick glance this looks like a duplicate of: |
Yep, it looks related. I have that kind of error too, invisible results for markdown output. But I did not make that error gif. |
I rely a lot on the markdown. But when the markdown is corrupted, I will need to create a new cell. But that will change the unique id of the cell, which I am using it for cross note book refencing. That's why I need the markdown cell to be stable for copy/paste editing... |
Description
When I copy
Ctrl+C
& pasteCtrl+V
some long text with some markdown formats into the editor in markdown mode , there is a very great chance of messing up the text for display. The executed display and text content in the editor is inconsistant. AlsoCtrl+Z
to reverse editing has a high prob to break. You can see the actual difference if you switch between markdown and code mode. The behavior is very strange and annoying because I rely on the markdown to edit and when this happens, the original text can not be recovered completely.Reproduce
Try to copy some long texts (especially markdown texts) into the editor in markdwon mode, as the gif shows. You can copy below texts as the gif:
```
aaaaaaaaaaaa
bbbbbbbbbbbb
cccccccccccc
dddddddddddd
eeeeeeeeeeee
```
Expected behavior
Texts are messed up and can not be recovered. The executed display and text content in the editor is inconsistant.
Context
The text was updated successfully, but these errors were encountered: