How to prevent users from undoing text in some cases?

I have a editor where a disabled content control is added from plugin when editor is loaded…
but user can still remove it by doing CTRL + Z

is there a way to prevent this so user cannot remove the disabled content control??

Hello @anand.mainali,
You can load the editor with edit:false and fillForms:true permissions Permissions
In this case the user will only be able to edit text inside content controls and won’t be able to remove them.

@Carl this settings doesn’t seems to fit for me… i’ve editable content below the content control as well… and i just want to prevent users from removing the content control by doing CTRL + Z.

hi @Carl, any update on this??

In this case you can insert a CC that is locked for deletion (ContentControlLock), so the deletion won’t be possible.

1 Like