Topic on Extension talk:CodeMirror

37.170.200.193 (talkcontribs)

First bug : I use the beta the "2017 wikitext editor" it's become my main editor. I activate the beta "Wikitext editor syntax highlighting". I try to desactivate the beta "Wikitext editor syntax highlighting", it's work for the usual vector editor. But, I cannot desactivate the beta "CodeMirror" when I use the "2017 wikitext editor". The "Wikitext editor syntax highlighting" isn't tick in the beta menu, but I still there in the edit window when I use the "2017 wikitext editor".

In the same time, I cannot use the "Wikitext editor syntax highlighting" without the "2017 wikitext editor". I try to desactivate just the "2017 wikitext editor", but It doesn't work until I desactivate also the "Wikitext editor syntax highlighting".

But, if the problem was just that, It will not be very funny.

Second bug : Because the combinaison of the "2017 wikitext editor" and the "Wikitext editor syntax highlighting" have a huge bug when I use them. (I'm on chrome, on chromebook (I don't think chromebook matters).

See : File:Bug Mise en forme du texte avec la syntaxe Wiki.png => The highligt text in the window editor isn't in the same line that the text I select. It's offset downwards relative to the text selection. So when I want to select a line for example to do to some editions (the usual business on a window edition ...), I need to select the previous line and calculate the offset to click in a non visible line. It's very very annoying... For me the combinaison of the two gadget is not usable at this moment.

User:Nouill (disconnected when I remove cookie (And remove cookie doesn't remove the first bug...)

DannyH (WMF) (talkcontribs)

Hi Nouill, Thanks for posting. We're going to be working soon on the first problem that you mentioned -- not being able to turn syntax highlighting off using the beta feature. That's being tracked in this ticket: phab:T173480.

I haven't seen the second bug, and I can't reproduce it myself in Chrome. Can you describe the steps that you took in order to see htat? Does it happen every time you try to select text, or only on some pages?

NKohli (WMF) (talkcontribs)

Hi @Nouill. I believe you are mistaken. When you are on 2017 Wikitext editor, you can disable CodeMirror from the dropdown on the right. Look for the dropdown menu to the left of the pencil icon. (See File:2017_wikitext_editor.png for reference).

> In the same time, I cannot use the "Wikitext editor syntax highlighting" without the "2017 wikitext editor". I try to desactivate just the "2017 wikitext editor", but It doesn't work until I deactivate also the "Wikitext editor syntax highlighting".

That is definitely not correct. You can use the highlighting with the classic editor. I think you should try this again. You're probably mistaken. :)

Nouill (talkcontribs)

Ok, thx NKohli (WMF), I discover that option in the dropdown. It resolve my problem.

For the second bug, DannyH (WMF) the bug is incremental, it don't appear on the beginning of the each article but it's more and more offset in the end of article (so the article need to be a little long).The bug doesn't see to be on every article. It's appear on fr:Rohingya or :fr:Northrop Grumman or :fr:DP World or fr:Communisme (biggest article on wp:fr, and in the end of this article the offset is very huge, the window edition finish after the category) but not on :fr:Ligue algérienne pour la défense des droits de l'homme not on :fr:Eurofins Scientific.

When I disactivate the CodeMirror in the dropdown, the offset disappear immediately.

Reply to "Few very annoying bug"