Valid Key required to continue TinyMCE

Describe the issue or problem
A valid API key is required to continue using TinyMCE. Please alert the admin to check the current API key. to learn more.

Steps I took leading up to the issue
Whenever I go to Jounal edit page through admintration, I get this error. and the input text box becomes ready-only.
I cannot diable the tinymce plugin too

What application are you using?
I am using OJS 3.3.0-20 through docker

Hi @Mouhamed_Noordeen,

There are two existing threads about this to review:

Long story short: A TinyMCE API key should not be required, and if TinyMCE asks for it, it indicates that something is wrong. Make sure your browser cache has been cleared, just in case that’s part of the issue, then have a look through the other forum posts to see if e.g. you can identify a Javascript error or a dependency that can’t be fetched by the browser.

Regards,
Alec Smecher
Public Knowledge Project Team

I cleared cache, the issue still exists.

This is the console output.

All created TinyMCE editors are configured to be read-only. tinymce.min.js:23:11

tcsl https://cloud.tinymce.com/stable/tinymce.min.js?apiKey=:23

https://cloud.tinymce.com/stable/tinymce.min.js?apiKey=:26

A valid API key is required to continue using TinyMCE. Please alert the admin to check the current API key. Read to learn more: https://www.tiny.cloud/docs/tinymce/latest/invalid-api-key/?utm_campaign=invalid_api_key_learn_more&utm_source=tiny&utm_medium=referral ↓↓↓↓↓ ATTENTION ADMINS ↓↓↓↓↓ Please include these details in Tiny Cloud support requests. Resolved API key: invalid-api-key Editor read-only?: yes Origin: https://readingarchive.janastu.org Tiny Cloud entry URL: https://cloud.tinymce.com/stable/tinymce.min.js?apiKey= ↑↑↑↑↑ ---------------- ↑↑↑↑↑ tinymce.min.js:11:7226

MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. tinymce.min.js:2:8857

MouseEvent.mozInputSource is deprecated. Use PointerEvent.pointerType instead. tinymce.min.js:2:8857

downloadable font: Glyph bbox was incorrect (glyph ids 11 19 20 21 55 58 79 96 101 115 116 120) (font: “tinymce” style:normal weight:400 stretch:100 src index:1) source: https://cdn.tiny.cloud/1/invalid-api-key/tinymce/4.9.11-104/skins/lightgray/fonts/tinymce.woff

Hi @Mouhamed_Noordeen,

Can you send me a URL to a test copy of your journal that demonstrates the problem?

Regards,
Alec Smecher
Public Knowledge Project Team

https://readingarchive.janastu.org/index/admin/contexts

you need to admin rights to access.
Click edit on the hosted journal.

You will get the error.

Hi @Mouhamed_Noordeen,

The TinyMCE control works fine in other places, e.g. the user profile and submission process. I suspect the problem is related to your URL rewriting configuration. I would suggest disabling that to see if it fixes the issue, and if it does, reviewing it to see if there is some resource that can’t be fetched in the administration area. I’m not able to test that myself, so I can’t give more specific guidance.

Regards,
Alec Smecher
Public Knowledge Project Team

This topic was automatically closed after 10 days. New replies are no longer allowed.