Strapi Plugin CSP "Content Security Policy" Issue

Error: Refused to load the script ‘https://cdn.tiny.cloud/1/apiKeypastedHere/tinymce/7/tinymce.min.js’ because it violates the following Content Security Policy directive: “script-src ‘self’”. Note that ‘script-src-elem’ was not explicitly set, so ‘script-src’ is used as a fallback.

I am working on a Strapi plugin.
I tried to install tinymce using yarn which worked successfully.
The above error occured even after following all the steps mentioned for the tinymce react version.
import {Editor} from “@tinymce/tinymce-react”;

<Editor
apiKey=“apiKeypastedHere”
init={{
plugins: ‘anchor autolink charmap codesample emoticons image link lists media searchreplace table visualblocks wordcount checklist mediaembed casechange export formatpainter pageembed linkchecker a11ychecker tinymcespellchecker permanentpen powerpaste advtable advcode editimage advtemplate ai mentions tinycomments tableofcontents footnotes mergetags autocorrect typography inlinecss markdown’,
}}
/>
This is the bare minimum that’s supposed to be required to get the editor working.

This topic has been created from a Discord post (1268826274999173151) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord