Commit 1a645ec0 authored by Ilya Kirillov's avatar Ilya Kirillov

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

parent 79d914d1
...@@ -625,6 +625,9 @@ CTable.prototype.CheckContentControlDeletingLock = function() ...@@ -625,6 +625,9 @@ CTable.prototype.CheckContentControlDeletingLock = function()
}; };
CBlockLevelSdt.prototype.Document_Is_SelectionLocked = function(CheckType, bCheckInner) 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 isCheckContentControlLock = this.LogicDocument ? this.LogicDocument.IsCheckContentControlsLock() : true;
var nContentControlLock = this.GetContentControlLock(); 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