Opened 11 years ago
Last modified 9 years ago
#10745 confirmed Bug
[FF&Inline] Cells selection is lost when merging cells — at Version 5
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Selection | Version: | 4.0 |
Keywords: | Cc: | charis, Ales Seifert, Marian Kmet, gaoheng, richard@… |
Description (last modified by )
- Open inlinebycode sample.
- Select two cells.
- Right click -> cells -> merge cells.
- Nothing happened - only left cell is selected. In the error console the following is reported:
TypeError: e.getDocument is not a function
To debug add if ( !isDetect ) debugger;
statement at the beginning of mergeCells
function. See that when this function is called the selection is already broken, so only one cell is returned from getSelectedCells
.
Note: mergeCells
is called with isDetect flag when opening ctx menu and at this point selection is correct.
Change History (5)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 9 years ago by
Cc: | charis Ales Seifert Marian Kmet gaoheng added |
---|
comment:3 Changed 9 years ago by
Cc: | richard@… added |
---|---|
Version: | → 4.0 |
comment:4 Changed 9 years ago by
Also confirmed by testing other scenario: having a relatively large table and selecting a group of cells in the middle.
comment:5 Changed 9 years ago by
Description: | modified (diff) |
---|
Duplicates: #9770, #10736, #11072, #13588