TinyMCE plugin won’t work with jQuery 3.5.1 (testing with “Test jQuery Updates”)

I’m answering this in case anyone should stumble upon this having the same issue. I just removed the

jQuery(function ($) {

}); 

wrapping from my TinyMCE plugin code and it works perfectly on any browser now. I realised there was no reason to call jQuery since it’s not used in the code as Rup correctly pointed out above. I had copy-pasted a code snippet found on the internet as a template and it had the call to jQuery which, I believe, delayed the execution of the plugin (waiting for the DOM to be ready), therefore TinyMCE wasn’t correctly initialized. I don’t understand why it didn’t mess with my plugin on older versions of jQuery but whatever, it’s ok now.