Working with review changes
Manages review process from the outside.
- ACCEPT
- REJECT
- <
- >
How it works
When the user clicks the Accept / Reject buttons in the custom interface, the AcceptReviewChanges / RejectReviewChanges methods are executed to accept / reject the selected change in the editor:
$("#accept").on("click", function () {
connector.executeMethod("AcceptReviewChanges");
});
$("#reject").on("click", function () {
connector.executeMethod("RejectReviewChanges");
});
When the user clicks the arrow buttons in the custom interface, the MoveToNextReviewChange method is executed to move between the next and previous review changes:
$("#prev").on("click", function () {
connector.executeMethod("MoveToNextReviewChange", [false]);
});
$("#next").on("click", function () {
connector.executeMethod("MoveToNextReviewChange");
});
Getting help
If you have any questions, ask our developers on ONLYOFFICE forum (registration required).
当前内容版权归 Onlyoffice 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Onlyoffice .