TinyMCE Uncaught ReferenceError: ext is not defined

I am including tinyMCE from CDN using this simple code:

$('head').append('<script src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script>');
tinymce.init({selector: '#selector_id'});

      

It works fine without any warnings / errors in most browsers (FF, IE, Opera) In Chrome it works too, but the console shows this error: "Uncaught ReferenceError: ext not defined - include.postload.js: 539".

I tried to enable various versions available (4, 4.0, 4.1) but the error persists. I also tried including the script directly in the header without JS, but that didn't help either.

What could be causing this error? and how can I get rid of it?

+3


source to share


2 answers


This is a bug in Adblock Plus, closed 3 days ago, so hopefully a fix will be available soon. It was mentioned on the forum that the problem persists even if ABP is disabled, which is a little disappointing.



+7


source


Are you using Ad-Blocker (like Adblock Plus)?

I had the same error and got rid of it when I temporarily disabled the browser extension.



I assume that from time to time these extensions have problems with newer browser versions (for example, here) .

+2


source







All Articles