Pasting long enough block causes cursor position and text buffer to get confused

I am not sure I can repro this.
Can you post a gif?

Here is a GIF.

The software I used didn’t capture key presses, but I was just pasting text. When I stop pasting, notice where the text cursor is. At the very end, I typed “test” without hitting any other keys (arrow keys, end key, etc.)

This is probably due to the internal optimizations we use. I managed to repro.

do you still have this issue?

Yes, it’s still present in 0.10.13. I’m on installer version 0.8.12 if that matters.

Please, update the installer and try again.
If you still have it post a screen recording without thirdparty plugins and default css.

Have it sometimes too.
Upload files for free - 2021_03_08 16-13-57.mp4 - (Yeah didn’t know where to upload so first site from google)

let me know if this is this better in 0.11.7

Will do, as soon as it shows up :slight_smile:

Nope, still broken… I think it’s somewhat improved, but still bugged.

this is an upstream problem I can repro on codemirror website

Gotcha. I set up a test instance of CM6 and couldn’t repro, FWIW. So when that gets swapped in hopefully this will be solved.

@WhiteNoise Sorry I’ve been a bit out of the loop on development lately. This bug still persists- Just checking on the move to CM6, are you guys getting close?

This is a bit stale so I wanted to post a couple of fresh videos along with some easy text you can copy & paste into a new note to repro this. All done using 0.12.19.

Here’s a gist with some raw text that when pasted into a note, should trigger this bug:
copy the text from this gist

Here’s a video showing how it looks in my vault (with a monospace font) – easiest to see the effect:

and here’s a video of the same text, from the Help vault (no plugins, etc.) showing the same thing:

It’s easiest to repro when the left side panel (file explorer/navigation) is visible.

Just a note that this bug is unchanged in 0.13.0

1 Like

I can’t reproduce this in 0.13.20 with the new editor

Hi - new user here (0.13.19). I’m pasting some text from Evernote and experiencing this same issue. My cursor jumps to a place in the middle of a paragraph and I can’t select text below that point until I leave the note and come back. Thanks.

can you post a screen recording of this happening in the new editor in the help vault?

Sorry I never got time to make a recording of this. But I noticed After Pasting big chucks of text the pane is not scrolled to the right position which was definitely the new editor. Guess it’s not quite the same bug but, may be related