In order to reject specific changes during redaction process or to keep a full log of changes in the document, you need to pass a callback implementing IRedactionCallback into RedactorSettings. The interface contains only one method, acceptRedaction, which receives detailed information about the proposed redaction and returns a Boolean value — accepted or not.
Below, we create a callback with Java.newProxy, dumping changes to the console:
const redaction = require('@Groupdocs/Groupdocs.redaction'); const Java = require('Java'); const callback = Java....Navigation Products GroupDocs.Total Product Family GroupDocs.Conversion...Solution GroupDocs.Viewer Product Solution GroupDocs.Markdown...