Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix COMPONENT ERROR: e.cells[o] is undefined #1951

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

BryanValverdeU
Copy link
Contributor

This seems to repro when there is an empty table, without cells and rows <table></table>,

webpack://.../packages/roosterjs-editor-dom/lib/table/isWholeTableSelected.ts 16
webpack://.../packages/roosterjs-editor-core/lib/coreApi/selectTable.ts 85
webpack://.../packages/roosterjs-editor-core/lib/coreApi/selectTable.ts 209
webpack://.../packages/roosterjs-editor-core/lib/coreApi/selectTable.ts 49
webpack://.../packages/roosterjs-editor-core/lib/coreApi/select.ts 73
webpack://.../packages/roosterjs-editor-core/lib/editor/EditorBase.ts 434
webpack://.../packages/roosterjs-editor-plugins/lib/plugins/TableCellSelection/TableCellSelection.ts 114
webpack://.../packages/roosterjs-editor-plugins/lib/plugins/TableCellSelection/TableCellSelection.ts 74

@juliaroldi
Copy link
Contributor

I'm curios about how a empty table can be created

@BryanValverdeU
Copy link
Contributor Author

I'm curios about how a empty table can be created

I dont know 🤔

@BryanValverdeU BryanValverdeU merged commit 476ad93 into master Jul 14, 2023
@JiuqingSong JiuqingSong deleted the u/bvalverde/fixWholeTableSelected branch September 8, 2023 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants