PrestaSafe / prettyblocks

Page builder open for source for PrestaShop
Academic Free License v3.0
75 stars 35 forks source link

Tinymce issue #202

Closed OctaYann closed 9 months ago

OctaYann commented 9 months ago

After using a migration module to migrate data from the old prestashop version of my client, i can't use tinymce anymore in prettyblocks.

I got this error

"no-api-key" is not entitled to further Tiny Cloud editor loads. All created TinyMCE editors are now configured to be read-only.

Can i queekly fix it ?

PrestaSafe commented 9 months ago

Hi, thankf for your report, have this issue also.

This is an update from TinyMCE https://www.tiny.cloud/docs/tinymce/latest/invalid-api-key/ editor now need an api key. I'll fix it soon, i'll make something to enter the api key in prettyblocks.

Thanks

OctaYann commented 9 months ago

So i'll need to pay for tiny mce or i'ts still free ? I need to create an api key for each of our clients ?

PrestaSafe commented 9 months ago

You have a free plan: https://www.tiny.cloud/pricing/ I think i'll remove tinyMCE in futur version.

Considere it like a quick fix :)

I don't want any paid plugin in PrettyBlocks Core.

Thanks.

OctaYann commented 9 months ago

Ok thx, i'll try it during the day. Thanks for this fast answer !

OctaYann commented 9 months ago

Can you give me the place where i should put my api key ?

CySSoO commented 9 months ago

@OctaYann you can edit JS file located on this folder /modules/prettyblocks/build/assets search for "no-api-key" and replace it with your own key Don't forget to allow domain on your TinyMCE account

OctaYann commented 9 months ago

Thank you so much @CySSoO, you literally save me maybe hours and my migration 🙏

Waiting for official patch, thank you all

PrestaSafe commented 9 months ago

Thanks to @CySSoO for the tips, the fix coming soon :)

PrestaSafe commented 9 months ago

You can see how to fix it here: https://github.com/PrestaSafe/prettyblocks/wiki