Tinymce integration: Failed to initialize plugin

I’ve followed the instructions to integrate with Tinymce (https://uploadcare.com/docs/guides/tinymce/), but I get the notice “Failed to initialize plugin”. Here is what the console tells me:

tinymce.min.js?apiKey=xe90z5a451vf8edd6z7zbljzwjybw0vdci8giuylfhd7wq2m:9 Failed to initialize plugin: uploadcare Error: editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead
at e.addButton (tinymce.min.js?apiKey=xe90z5a451vf8edd6z7zbljzwjybw0vdci8giuylfhd7wq2m:9)
at t..t..init (plugin.js:36)
at ox (tinymce.min.js?apiKey=xe90z5a451vf8edd6z7zbljzwjybw0vdci8giuylfhd7wq2m:9)
at Array. (tinymce.min.js?apiKey=xe90z5a451vf8edd6z7zbljzwjybw0vdci8giuylfhd7wq2m:9)
at Object.Zt [as each] (tinymce.min.js?apiKey=xe90z5a451vf8edd6z7zbljzwjybw0vdci8giuylfhd7wq2m:9)
at sx (tinymce.min.js?apiKey=xe90z5a451vf8edd6z7zbljzwjybw0vdci8giuylfhd7wq2m:9)
at e. (tinymce.min.js?apiKey=xe90z5a451vf8edd6z7zbljzwjybw0vdci8giuylfhd7wq2m:9)
at Array. (tinymce.min.js?apiKey=xe90z5a451vf8edd6z7zbljzwjybw0vdci8giuylfhd7wq2m:9)
at Zt (tinymce.min.js?apiKey=xe90z5a451vf8edd6z7zbljzwjybw0vdci8giuylfhd7wq2m:9)
at o (tinymce.min.js?apiKey=xe90z5a451vf8edd6z7zbljzwjybw0vdci8giuylfhd7wq2m:9)

Note that the example on your own website does not work either: File Uploader by Uploadcare, a TinyMCE plugin

Hi @rob

This issue is being discussed here

Currently, the demo works with HTTP only, check it out
http://uploadcare.github.io/uploadcare-tinymce/demo/

It will be fixed with the upcoming update as well.

Hi @rob,

We’ve released v.3.2.2 and added support for TinyMCE 5.x. Upgrading should resolve the issue