Delete selected content control

Modified on Mon, 5 Oct at 1:54 PM

This command enables to delete the selected content control in a document. It is possible to define whether it should delete the content of the particular content control as well or if it should keep the content and only remove the content control.

With this command, we can delete the selected content control without selecting the entire content control, meaning that it is enough to have the cursor placed in the particular content control or only select the text of it.

CMD

<Cmd case="BaseExtensions:delete-selected-ccs" keepContent="X"/>

Parameter

keepContent

Define whether the command should keep the content of the content control to be deleted using true or false.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article