I would add… at one point this morning, it would also struggling to actually render code in the editor… the blocks/placeholders were there, but the text wasn’t showing; like it was almost a memory problem.
I’m currently looking at manually refactoring the 2,500-line plugin over multiple sub-files. This may be alleviating the replacing-everything problem, but it’s still hitting a “The diff algorithm was stopped early (after 5000 ms.)” problem