Blaine_
Blaine_

Reputation: 316

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 console shows this error: 'Uncaught ReferenceError: ext is not defined - include.postload.js:539'.

I tried including different available versions (4, 4.0, 4.1), but error persits. I also tried to include script directly in header, without JS, but it didn't help either.

What can be the reason for that error? and how can I get rid of it?

Upvotes: 3

Views: 2803

Answers (2)

Matt Wallis
Matt Wallis

Reputation: 923

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

Upvotes: 7

chg87
chg87

Reputation: 43

Are you using an Ad-Blocker (e.g. Adblock Plus)?

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

I assume from time to time these extensions have problems with new browser versions (e.g. here).

Upvotes: 2

Related Questions