hiteshchoudhary / chai-aur-react

chai aur react series on youtube
5.98k stars 794 forks source link

tinyMCE Api Key Problem #102

Open Abhimanyupayasi opened 2 months ago

Abhimanyupayasi commented 2 months ago

here

error

ghousetazeem commented 2 months ago

I think there has been the issue with the API key itself, mostly its not correct. You try referring this article from TinyMCE to clear the issue:

https://www.tiny.cloud/blog/how-to-get-tinymce-cloud-up-in-less-than-5-minutes/

pritamduttaofficial commented 2 months ago

Go to TinyMCE website, there you will get the option to generate a free API key, generate that key and use it inside the RTE component. Place it inside the component.

a-nuj1 commented 1 month ago

log in to tiny MCE and get your API key and put in apiKey section <Editor apiKey='Put your API key here' 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', toolbar: 'undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | addcomment showcomments | spellcheckdialog a11ycheck typography | align lineheight | checklist numlist bullist indent outdent | emoticons charmap | removeformat', tinycomments_mode: 'embedded', tinycomments_author: 'Author name', mergetags_list: [ { value: 'First.Name', title: 'First Name' }, { value: 'Email', title: 'Email' }, ], ai_request: (request, respondWith) => respondWith.string(() => Promise.reject("See docs to implement AI Assistant")), }} initialValue=" " />