The Migration Strategy: Self-Hosted TinyMCE with Static Copy
Instead of fighting Vite's module bundler, the solution uses a hybrid approach: TinyMCE is loaded as a traditional global script, while only the configuration runs through Vite.
Step 1: Remove TinyMCE from npm, Use Self-Hosted Distribution
Download TinyMCE 8 Community (GPL) from the official download page and place the full distribution...