[Bug]: After selecting multiple rows or columns in the table,attribute[form & to] in [editor.state.selection] are only last tabelcell's attribute[form & to]. Function toggleList use selection need fix #5737
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Affected Packages
core
Version(s)
2.8.0
Bug Description
For example, batch settings bulletList by toggelist, in Table
_CellSelection: {
ranges:[
SelectionRange: { $from: { pos: 248 }, $to: {p os: 258 } },
SelectionRange: { $from: { pos: 236 }, $to: {p os: 246 } },
],
$from: { pos: 248 },
$to: { pos: 258 },
from: 248,
to: 258
}
Browser Used
Chrome
Code Example URL
No response
Expected Behavior
expect [from 236 to 258] or [258 to 236]
Additional Context (Optional)
No response
Dependency Updates
The text was updated successfully, but these errors were encountered: