mirror of
https://github.com/ONLYOFFICE/sdkjs-forms.git
synced 2026-03-31 10:23:35 +08:00
Fix bug #60321
Fix the problem with adding a fixed form inside the complex form
This commit is contained in:
14
api.js
14
api.js
@ -437,12 +437,14 @@ window["AscOForm"] = window.AscOForm = AscOForm;
|
||||
{
|
||||
logicDocument.Recalculate(true);
|
||||
let drawing = form.ConvertFormToFixed();
|
||||
|
||||
let drawingPr = new Asc.asc_CImgProperty();
|
||||
drawingPr.asc_putWrappingStyle(Asc.c_oAscWrapStyle2.Square);
|
||||
drawing.Set_Props(drawingPr);
|
||||
|
||||
form.MoveCursorToContentControl(false);
|
||||
if (drawing)
|
||||
{
|
||||
let drawingPr = new Asc.asc_CImgProperty();
|
||||
drawingPr.asc_putWrappingStyle(Asc.c_oAscWrapStyle2.Square);
|
||||
drawing.Set_Props(drawingPr);
|
||||
|
||||
form.MoveCursorToContentControl(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user