There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-09be8ce8-8162-4ebc-b2d6-a8bbb81044f1 XWIKI-23209 Open

Switching to Source multiple times after selecting a cell value expands the selection to other cells

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-89775840-71bc-45f5-8d4c-e0069a21dda2 Vincent Massol on 04/Oct/26 07:34
 

Still reproduces on master (18.9.0-SNAPSHOT), in the in-place editor: with a table row |alpha|beta, selecting the whole value beta gives |beta in Source, and switching back to WYSIWYG selects alpha (the previous cell).

The automated test for XWIKI-25088 (InplaceEditIT#switchToSourcePreservesSelection, https://github.com/xwiki/xwiki-platform/pull/6590) works around it by selecting a word at the end of the cell instead of the whole cell value; it should be changed to select the whole cell value once this issue is fixed.