Tinymce should have been loaded into global scope

Hello everyone!

I’ve replaced the default rich text editor with tinymce following this repo. It works fine after I edited the extended_valid_elements to fit my needs. The only issue I have is that when I run the server with strapi develop --watch-admin or when I change the admin url of the server in config/env/server.js I get the following error:

Uncaught SyntaxError: Unexpected token '<' Uncaught Error: tinymce should have been loaded into global scope

Any ideas?

Helo everybody!

Does anybody have any input on this one?