Search code examples
djangotinymce

Where to add Tinymce api key?


i downloaded the zip file form tinymce.cloud. and added the file in static folder everything is working fine, except now i'm domain is not registered editor

getting this notification every time i want to create a post. I already have an account but as they suggested to add key in tinymce.js file the content is totally different in mine because i'm not using just single js file but bunch of files now i don't know where i should put my api key. so it stop giving me notification.

script file i'm using in head file script file

post_create.html where i added script.

post create html script file


Solution

  • To run TinyMCE 5 from the cloud, use the following code in the head of your HTML file, replacing no-api-key with your own API key:

    <script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>
    

    There's more information about getting started with TinyMCE 5 on the cloud in the docs: https://www.tiny.cloud/docs/quick-start/