Type
Description
When using the presentation editor (paginated layout), click-and-drag to select text works perfectly in normal paragraphs outside of tables. However, inside table cells, click-and-drag text selection does not work properly — the selection either doesn't start, doesn't extend, or behaves erratically.
Single click to place cursor inside a table cell works. Bold/Italic formatting works. The issue is specifically with mouse drag selection within table cell content.
Current Behavior
Click and drag inside a table cell does not properly select text. The selection range doesn't follow the mouse as expected.
Expected Behavior
Click-and-drag text selection inside table cells should behave the same as outside tables — selecting text from the mousedown position to the current mouse position.
Steps to Reproduce
- Load a DOCX document containing tables with text
- Try to select text by clicking and dragging inside a table cell
- Compare with selecting text outside tables (which works correctly)
SuperDoc Version
1.26.0-next.19
Browser & Version
Chrome (latest)
OS
macOS
Additional Context
The data-table-boundaries attribute on .superdoc-table-fragment elements contains correct column/row boundary data, so the hit-testing metadata appears to be present.
Checklist
Type
Description
When using the presentation editor (paginated layout), click-and-drag to select text works perfectly in normal paragraphs outside of tables. However, inside table cells, click-and-drag text selection does not work properly — the selection either doesn't start, doesn't extend, or behaves erratically.
Single click to place cursor inside a table cell works. Bold/Italic formatting works. The issue is specifically with mouse drag selection within table cell content.
Current Behavior
Click and drag inside a table cell does not properly select text. The selection range doesn't follow the mouse as expected.
Expected Behavior
Click-and-drag text selection inside table cells should behave the same as outside tables — selecting text from the mousedown position to the current mouse position.
Steps to Reproduce
SuperDoc Version
1.26.0-next.19
Browser & Version
Chrome (latest)
OS
macOS
Additional Context
The
data-table-boundariesattribute on.superdoc-table-fragmentelements contains correct column/row boundary data, so the hit-testing metadata appears to be present.Checklist