Home › Forums › General XMetaL Discussion › Element no longer read-only after undo › Reply To: Element no longer read-only after undo
Reply to: Element no longer read-only after undo
February 4, 2021 at 12:22 pmHello, 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.