Commit 81c45a50 authored by Ilya Kirillov's avatar Ilya Kirillov

Even if the block is locked we can add a paragraph before it.

parent 1a310020
......@@ -625,6 +625,9 @@ CTable.prototype.CheckContentControlDeletingLock = function()
};
CBlockLevelSdt.prototype.Document_Is_SelectionLocked = function(CheckType, bCheckInner)
{
if (AscCommon.changestype_Document_Content_Add === CheckType && this.Content.IsCursorAtBegin())
return AscCommon.CollaborativeEditing.Add_CheckLock(false);
var isCheckContentControlLock = this.LogicDocument ? this.LogicDocument.IsCheckContentControlsLock() : true;
var nContentControlLock = this.GetContentControlLock();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment