﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10745	[FF&Inline] Cells selection is lost when merging cells	Piotrek Koszuliński		"1. Open inlinebycode sample.
2. Select two cells.
3. Right click -> cells -> merge cells.
4. 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."	Bug	confirmed	Normal		Core : Selection	4.0			charis Ales Seifert Marian Kmet gaoheng richard@…
