Thank you for your reply. Grammarly-check.js is a Chrome browser plugin and not part of Moodle. Regarding the above issue, most probably, the issue was with our Internet connectivity. I didn't have that issue again.
Thank you for your support.
Is there any way to delete or mark this post as resolved?