New changes:
1cbcc2f Rewrite ve.BranchNode#getNodeFromOffset to be non-recursive
d4ee023 Move table cell mergeability test to Selection and improve
8a741d3 ve.Node.findParent: Shortcut for specific traverseUpstream
37c7155 Use mouse position to place selection after double clicking a table cell
b200954 Localisation updates from https://translatewiki.net.
Change-Id: I7b4e5b4b5c2f7d5262b4d06417c587b212ba8b69
This prevents tables from getting sanitized even on
VE to VE copy. Also by calling ClassAttributeNode sanitize
extra CSS classes are removed.
Bug: T97462
Bug: T125220
Depends-On: Ia3ce386b2a03bc227818b10423bca72c736c0656
Change-Id: Ifd91e00b40665b446bbdcdf8859d2bb641bc0e67
New changes:
79546b8 Tables: Add slugs for missing cells in sparse tables
f723301 Tables: Multi-cell copy and paste
2548fac Spoil the fun of guessing what current[0] and current[1] mean.
db7c9aa Localisation updates from https://translatewiki.net.
526e1bf Tables: Move columns and rows
Change-Id: Id8d5f091cbca36c54f78f90bd2ac7aa2e6dacd1b
Change was made because editing mode is not always left to go to view mode,
but for example also because of clicking on "History".
Bug: T121754
Change-Id: Ibc1ba697081e60b8a797f5ea1b814a320ba812c3
New changes:
cedfdcb Localisation updates from https://translatewiki.net.
c433eaf ve.dm.Scalable: Prevent validation from exploding on bad input
8b47ed5 Tables: Add getMaxColCount to count total columns in a table matrix
30925f3 Update OOjs UI to v0.15.1
b299804 Follow-up Ic506950: Use new filenames for OOUI stylesheets for demo
b7c3d92 Sequences: Check command against surface's allowed commands
Change-Id: Id967945b1831bbfe9212d26e58ccb17d42b78cd5
The DM side already had the mixin, the CE side was still using custom
logic that has since been moved to ce.ClassAttributeNode.
This fixes the issue of tables not getting the wikitable class in VE
as it was only applied on attribute change previously, which never happened.
Change-Id: I197347762fc9228034f7664484539e5888722bcf
New changes:
7626140 Localisation updates from https://translatewiki.net.
1b51288 Refactor unicorn handling in ve.ce.Document#getNodeAndOffset
2458c1a Localisation updates from https://translatewiki.net.
af4a978 Initial cursor position: outside any nails
0ac9d6c Fix node length calculation
9dcb412 Fix logic for showing alien context item
0c4c39d Localisation updates from https://translatewiki.net.
92bb6d3 ElementLinearData#Sanitize: Remove meaningless HTML whitespace by default
4e2aa21 ce.Surface: Show deactivated selection when cursor is collapsed
b448f7d Remove background colour form table headers
87aa8da Follow-up I04ca47: Adjust comment to note we still care it's native
Change-Id: Ie1ee956d7e488e3e9b8494bfaf739c760f8a76b7
New changes:
00e283c Update name of language icon
de64680 Put construction of table context items in loops
e3fabca Delete cross-branchNode selections etc. on compositionstart
338a57f TableAction: Use first non-empty cell data when merging
55a003e Update undoIndex before performing redo
38601f8 Localisation updates from https://translatewiki.net.
6a5fa59 Fix styling of toolbar separators
85533c0 ve.ce.Surface#onDocumentInput: Minor documentation tweaks
d69fe65 Localisation updates from https://translatewiki.net.
Change-Id: I7f137db9d4ed3bf5baa6c3bd555186504d55c612