Topic on VisualEditor/Feedback/Flow

Visual editor table behavior

3
Summary by Whatamidoing (WMF)
Redfiona99 (talkcontribs)

Hi,

So I was working on the table in https://en.wikipedia.org/wiki/Enrico_K%C3%B6lling

Because the boxing record table is quite complicated, I thought I'd used Visual Editor to do it. It works quite well, except for the second column titled "results". The second column contains a template, and if you just copy from the row above you end up with a shifted table like the second table here - https://en.wikipedia.org/wiki/User:Redfiona99/sandbox#Boxing_tables. I'd want it to look like the third table.

It's an easy enough manual fix, you just have to move the |{{ yes 2 }} Win down a line and then it realigns itself properly, but I'm not clear on why copying and pasting would cause it not to do that, when it's not a problem if you copy and paste any of the other boxes.

Thanks,

~~~~


Whatamidoing (WMF) (talkcontribs)

I'm glad to hear that it's an easy fix, because I don't realistically expect this bug to be fixed for a long time. I think we filed a similar request in 2014 over the {{yes}} templates. As for why this class of templates is complicated, they insert some table formatting code, but they don't make a full table, so the template is partially removing control over the table from the visual editor, but it's still expected to manage the table. So I think it can't always figure out what's going on. Under the circumstances, the only real surprise is that it isn't screwing up more of it.

Redfiona99 (talkcontribs)

Thanks for the really clear explanation. Even with the fix it's a lot quicker than writing it all out by wikitext and I now know when to expect similar behaviour.

Reply to "Visual editor table behavior"