I need to use connector to edit text documents. But after I call the callCommand method, the redo button become disable. This doesn’t meet my needs. Is there any way to do not disable the redo button after executing the callCommand method?
@szmtcjm thank you, I have managed to reproduce the issue and we are analyzing it at the moment. As soon as we have any news to share, I will get back to you.
However, in your particular example I don’t see any reason to execute Api.pluginMethod_GetAllContentControls() inside callCommand because callCommand is primarily used to send docbuilder scripts to the editor. If you execute the method via executeMethod, the Redo function is not disrupted.
@Carl In some cases, executeMethod cannot meet my needs. For example, I need to get all the paragraphs in a document first, and then get the ContentControl and ole objects in each paragraph.