Starting from 10.3.1.26 LTS Hotfix HF-007, a new API SF.setBusy() has been introduced which can be used to notify Spotfire when the TextArea visualization is ready for export. While your text area is still rendering you can use SF.setBusy(true) and once it finishes you can set SF.setBusy(false). The export will not render the visualization until a call to SF.setBusy(false) is made.
You can use this API in your existing JavaScripts by adding a sample script like below:
SF.setBusy(true);
setTimeout(function(){SF.setBusy(false)},300000);