Try our conversational search powered by Generative AI!

Upgrade to 12.19 and Tiny 4.2 gives console errors?



I just upgraded from CMS 12.14.0 to 12.19.0 and CMS.TinyMCE from 3.3.3 to 4.2.0 and now I get these errors in the console:

SyntaxError: Unexpected token '<'
    at dojo.fromJson (dojo.js:15:82234)
    at Object.json (dojo.js:15:120242)
    at _497 (dojo.js:15:123066)
    at _2cd (dojo.js:15:73012)
    at _2cb (dojo.js:15:72704)
    at resolve.callback (dojo.js:15:73525)
    at dojo.js:15:125114
    at _2f2 (dojo.js:15:75368)
    at _2ec (dojo.js:15:75232)
    at _2f1.resolve (dojo.js:15:76693)
Uncaught SyntaxError: Unexpected token '<' (at plugin.min.js:2:1)

plugin.min.js is located in the folder: /EPiServer/EPiServer.Cms.TinyMce/4.2.0/ClientResources/tinymce/plugins/imagetools/plugin.min.js

Any ideas?



Edited, May 16, 2023 8:18

Hi Kristoffer,

Firstly did you check if this version is compatible with CMS 12.19.0 after that can you re-install it? May be it is not been installed properly or something.

May 16, 2023 9:15

Well the Episerver.CMS 12.19.0 has a direct dependency to CMS.TinyMCE 4.2 so I guess there should not be a problem.

looks like imagetools are no longer for free, could that have something to do with it?


May 16, 2023 9:35

Wild guess: The server actually returns an error page in place of the plugin.min.js. Check the browser dev tools if you can see the response there, it might tell you more about what the error is.

May 16, 2023 10:02

Magnus, that is a great guess! Clicking on the link actually gives me a html page and not the actual script. I will dig deeper. Thanks!

May 16, 2023 10:13


They were actually 404 errors and removing these Tiny plugins from my configuration fixed the issue:


Thanks all for your help!


May 16, 2023 11:47

Just fyi re: those TinyMCE plugins:

Spellchecker plugin: 

EPiServer.CMS.TinyMce 4.x and above have the spellchecker built into TinyMCE. You do not need to install Spellchecker for TinyMCE 4.x; just add the following code in startup.cs to enable spellchecker:




See recent updates here: 

May 22, 2023 15:08
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.