Fix the problem with adding checkboxes by text selection
This commit is contained in:
KirillovIlya
2022-02-22 14:30:33 +03:00
parent d5a98c6335
commit be85148d32

2
api.js
View File

@ -110,7 +110,7 @@
&& !oLogicDocument.IsSelectionLocked(AscCommon.changestype_None, {
Type : AscCommon.changestype_2_ElementsArray_and_Type,
Elements : arrSelectedParagraphs,
CheckType : changestype_Paragraph_Content
CheckType : AscCommon.changestype_Paragraph_Content
}))
{
oLogicDocument.StartAction(AscDFH.historydescription_Document_AddContentControlCheckBox);