When a user copies and pastes content from one document to another and the target document does not have definitions for entity references in the copied content, Arbortext Editor auto-defines these entities and inserts them in the internal subset. How do I stop this behavior. We want Arbortext to immediately report an error for undefined entities and turn off context rules.
You might be able to use a "paste" document callback to check the paste buffer for entity references, and check each one to see if it is defined for the target document; if not, you can abort the paste with a warning message. See the help center topic for "doc_add_callback" for details on how to set up this kind of callback.