SKLINET / strapi-plugin-tinymce

11 stars 18 forks source link

[Middlewares] Not access to fetch plugins,providers from marketplace #14

Closed AlexRabtsevich closed 1 year ago

AlexRabtsevich commented 2 years ago

Hi, when we add some changes in middlewares.js by documentation we don't have access to get any providers and plugins from strapi-marketplace, maybe we can fix it and edit readme

image

Sklico commented 2 years ago

Hi @AlexRabtsevich, can you provide us your middleware.js config ? I don't know about anything in the config, that could cause this kind of error. What part is the problem one please ?

AlexRabtsevich commented 2 years ago

I use config by README

image

Sklico commented 2 years ago

@AlexRabtsevich is there some error log in console (in DEV tools) ? The only one difference between your and our config is in quotes type. It could help if we can see some error log and check what the problem is. Thanks

AlexRabtsevich commented 2 years ago

@AlexRabtsevich is there some error log in console (in DEV tools) ? The only one difference between your and our config is in quotes type. It could help if we can see some error log and check what the problem is. Thanks

image

Sklico commented 2 years ago

@AlexRabtsevich what version of Strapi do you use ?

AlexRabtsevich commented 2 years ago

@AlexRabtsevich what version of Strapi do you use ?

We use strapi 4.3.8 and here our dependencies

"@sklinet/strapi-plugin-tinymce": "1.0.4", "@strapi/plugin-graphql": "4.3.8", "@strapi/plugin-i18n": "4.3.8", "@strapi/plugin-users-permissions": "4.3.8", "@strapi/strapi": "4.3.8", "@strapi/utils": "4.3.8", "lodash": "4.17.21", "mysql": "2.18.1", "patch-package": "6.4.7", "strapi-plugin-config-sync": "1.0.3", "strapi-plugin-passwordless": "4.0.8"

AlexRabtsevich commented 2 years ago

I think you should update README and use default strapi config + config which dependent to tinymce

Here is default config by strapi, maybe we can change default + add current config image

and I made some changes and here is my config

image

Scientifica-2610 commented 1 year ago

i have same problem and errors

Sklico commented 1 year ago

Hey guys, we've updated README. We never mentioned that you should replace your config with our, just extend it and add tinymce specific part, this is the reason why it wasn't part of the readme. Anyway we've updated that, so I think it should resolve the problem.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.