mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[de] Fix reading documents with forms
This commit is contained in:
@ -347,7 +347,10 @@ CInlineLevelSdt.prototype.Add_ToContent = function(Pos, Item, UpdatePosition)
|
||||
{
|
||||
History.Add(new CChangesParaFieldAddItem(this, Pos, [Item]));
|
||||
CParagraphContentWithParagraphLikeContent.prototype.Add_ToContent.apply(this, arguments);
|
||||
this.GetLogicDocument().OnChangeForm(this);
|
||||
|
||||
let logicDocument = this.GetLogicDocument();
|
||||
if (logicDocument)
|
||||
logicDocument.OnChangeForm(this);
|
||||
};
|
||||
CInlineLevelSdt.prototype.Remove_FromContent = function(Pos, Count, UpdatePosition)
|
||||
{
|
||||
@ -358,7 +361,10 @@ CInlineLevelSdt.prototype.Remove_FromContent = function(Pos, Count, UpdatePositi
|
||||
var DeletedItems = this.Content.slice(Pos, Pos + Count);
|
||||
History.Add(new CChangesParaFieldRemoveItem(this, Pos, DeletedItems));
|
||||
CParagraphContentWithParagraphLikeContent.prototype.Remove_FromContent.apply(this, arguments);
|
||||
this.GetLogicDocument().OnChangeForm(this);
|
||||
|
||||
let logicDocument = this.GetLogicDocument();
|
||||
if (logicDocument)
|
||||
logicDocument.OnChangeForm(this);
|
||||
};
|
||||
CInlineLevelSdt.prototype.OnContentChange = function()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user