Reply to: Element no longer read-only after undoFebruary 4, 2021 at 12:22 pm
Hello, thanks for the reply.
The requirement is for the content and also the element itself to be readonly.
Without both those lines the element is not deleted. If I leave only rng.NonRemovableContainer = False the element is deleted but is still editable after undo.
It looks like the undo feature is re-adding the XML content but not reapplying the readonly state.