Topic on 2017 wikitext editor/Feedback

Problems with copypasting and clipboard from the latest update

8
Summary by Whatamidoing (WMF)
Solidest (talkcontribs)

Having the problems with the clipboard and some difficulties with copy-paste in code mode, which are started somewhere around 1,5 weeks ago.

  • The clipboard does not work between browser tabs. It is as if the pages have their own built-in clipboard
  • Copying text into it now happens by any text highlighting. In doing so, copied lines often cut off the first or last character in the line.
  • The copying works in some random way, each time chunks of random text are copied from the current cursor position. Even if I did not highlight text or press Ctrl+C
  • Ctrl+X does not work as it should, but deletes the text completely and copies all subsequent text

All this only happens in the code editor when "New wikitext mode" is enabled. I've tried disabling all scripts and resetting wikipedia settings - it doesn't help. Problems appear for me in both in ruwiki and enwiki where I work and also both in Firefox and Chrome. There are no such problems in the standard code editor or any other sites.

Whatamidoing (WMF) (talkcontribs)

Do you have the colorful CodeMirror syntax highlighting turned on?

Solidest (talkcontribs)

Yep

Solidest (talkcontribs)

But the bug occurs even when markup is switched off. Although sometimes it does not appear immediately, but only after some work with the page code (mostly after several iterations of ctrl+x and ctrl+c). And then literally the only proper way to make a cut-paste work is by selecting and dragging text with the cursor to the needed space... This makes the visual editor simply unusable.

Chelsdog (talkcontribs)

I'm facing the same issue. Have you figured out the solution?

Solidest (talkcontribs)

Nope. Only keep finding even stranger cases of occurrence. For example if you open a new page - press edit code - select all, cut and paste to the same page - then all code will be written in one line without line breaks, and sometimes the highlighting continues to act as with a "shadow" of the original version of the page, selecting empty line formatting behind the current text. I think it's a bug within the visual editor, which started at the end of July.

Whatamidoing (WMF) (talkcontribs)

What's your operating system (Windows, Linux, Mac, etc.)?

Do you use the middle mouse button for copying and pasting? (See Topic:Wzjvn2kn8sxsltw6.)

Do you have problems with text getting "scrambled"? For example, you're typing at the end of a sentence, but the letters are added to the middle?

Solidest (talkcontribs)

Windows.

Not using middle mouse.

No, there are no problems with normal typing as far as I remember, only copying and pasting.

Reply to "Problems with copypasting and clipboard from the latest update"