Hi! I've inserted a comment but it still needs to be posted by clicking the button in below the comment input field. I'm trying to avoid the sidebar opening since we need to insert comments in the background. How do I "post" it programmatically without using the post button on that sidebar?
Here's the block of code that I'm using:
document.getElementById("insertComment").addEventListener("click", function(e) {
documenteditor.documentEditor.editor.select("0:0:5", "0:0:25");
documenteditor.documentEditor.editor.insertComment("Comment Inserted");
});