Topic on VisualEditor/Feedback

Template code problem

6
ZandDev (talkcontribs)

I can't make changes on text inside the code template on VisualEditor because when I click where I want to write VisualEditor shifts the cursor as the first column, therefore the lines of code aren't visible anymore.

Whatamidoing (WMF) (talkcontribs)

Does this happen in every article, or only some? Can you give me a link?

ZandDev (talkcontribs)

I have this problem only when there are long lines (longer than the width of the code block template widget), but I can't obviously (I cannot try every piece of code) be sure of that.


The Bit_Field page contains two code blocks.

I had this problem when I translated the page to Italian; the code with standard/textual mode.

After have copied the code try to open within the editor in visual editor mode and modify the code.

If I move the cursor from the line start in a another point of the code the first visualized column will be the cursor one, instead of the first. The heart of the problem is that, after moving the cursor, it is not possible to view or modify the first visualized columns.

https://it.wikipedia.org/w/index.php?title=Speciale:TraduzioneContenuti&page=Bit+field&from=en&to=it&targettitle=Campo+di+bit

Whatamidoing (WMF) (talkcontribs)

If the problem is in ContentTranslation, then we probably need to find @Amire80.

Amire80 (talkcontribs)

@ZandDev, do you still have this issue now when you try to edit the article? Or did it happen only while you were translating it?

ZandDev (talkcontribs)

I had this problem only when I was translating it, but I've verified that it is still present.

Reply to "Template code problem"