mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Small (and incomplete) fix to table cell tsr
Change-Id: I14347939de32af698d7ce0b649165982908c49aa
This commit is contained in:
parent
08b5ed1a43
commit
53451bfc50
|
@ -1540,7 +1540,9 @@ table_row_tag
|
||||||
table_data_tags
|
table_data_tags
|
||||||
= pipe
|
= pipe
|
||||||
td:table_data_tag
|
td:table_data_tag
|
||||||
|
tagEndPos:({return pos})
|
||||||
tds:( pipe_pipe tdt:table_data_tag { tdt[0].dataAttribs.stx_v = 'row'; return tdt } )* {
|
tds:( pipe_pipe tdt:table_data_tag { tdt[0].dataAttribs.stx_v = 'row'; return tdt } )* {
|
||||||
|
td[0].dataAttribs.tsr = [pos0, tagEndPos];
|
||||||
return td.concat(tds);
|
return td.concat(tds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue