You could try to use jQuery to remove the ExternalClass.
Simple code for your reference:76543-code.txt
This is just a workaround, and more importantly, find the reason why these ExternalClass appear.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.