Opened 11 years ago
Last modified 9 years ago
#10745 confirmed Bug
[FF&Inline] Cells selection is lost when merging cells — at Initial Version
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
- Open inlinebycode sample.
- Select two cells.
- Right click -> cells -> merge cells.
- Nothing happened - only left cell is selected.
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.