tinymce / tinymce-angular

Official TinyMCE Angular Component
MIT License
320 stars 92 forks source link

RTC - Jwt provider error: expected it to return a promise #312

Closed tmiljevic closed 1 year ago

tmiljevic commented 1 year ago

When trying to setup rtc plugin with the default init options from the introduction, plugin.min.js:8 Jwt provider error: expected it to return a promise error appears in the console and on the screen.

You can take a look at the demo here with the exact versions:

https://codesandbox.io/s/tinymce-angular-forked-vxyz7u

In my setup I'm using an api key from freshly created account. I've also tried setting up an endpoint for rtc_token_provider, which indeed gets invoked but the same error persists.

Chrome Version 102.0.5005.61 (Official Build) (64-bit) Mozilla Firefox 102.0.1 (64-bit) OS Ubuntu 20.04.4 LTS

exalate-issue-sync[bot] commented 1 year ago

Ref: INT-2979

jscasca commented 1 year ago

@tmiljevic For help with premium plugins you might need to head over to TinyMCE support

With that said, the issue might be the plugin definition of "Promise" as everything inside Angular would use "ZoneAwarePromises" instead.

tmiljevic commented 1 year ago

@jscasca thank you! I will contact the support.

jscasca commented 1 year ago

Closing this ticket as it seems to be resolved :+1: