Too large HTML file

My former co-worker left a project behind that has one very large HTML file, which contains a lot of Modal elements. Working with this in the editor is a pain, changing anything needs up to 3 minutes (!!), and while the change process is running, it seems that I can enter something in attributes, but once entered, it’s gone a few secs later. Fields get focus for a short while and then lose it again, clearing anything entered.

I know that this file is way too large and I want to get rid of all those modals inside. But unfortunately, they are required. So is there a way to take them off of that html file, put it elsewhere and load it at runtime? Doing that could make the editor as fast as with smaller files.

Anyone any ideas on how to accomplish that?

TIA

(post deleted by author)

3 Likes