GrapesJS / react

Other
95 stars 16 forks source link

Errors with the StackBlizt Custom UI version #2

Open glaprida opened 9 months ago

glaprida commented 9 months ago

Hi there. I downloaded the customized UI project from stackblitz (https://stackblitz.com/edit/grapesjs-react-custom-ui?file=src%2FApp.tsx ) and try to run it; but I get some errors.

First, there seems to be a routing error with App.jsx but that was easily solved by changing the extension to .js

But then I keep getting some error with babel, and a very discouraging message about how it's not being maintained anymore.

Honestly, I wouldn't wanna work with unmaintained dependencies since I figure it would be a headache down the road.

Any suggestions?

bfullstack commented 8 months ago

Hi, I used your code from (https://stackblitz.com/edit/grapesjs-react-custom-ui?file=src%2FApp.tsx) and I added the form plugin package from "grapesjs-plugin-forms" and after that when i drop the select dropdown in canvas then when i try to open the dropdown its not opening and not working do you have any idea or any solution for this please let me know

glaprida commented 8 months ago

I have switched to the base GrapesJs version (I still run it in a ReactJs environment but I'm not using the wrapper, mainly because of the lack of documentation specific to this wrapper... I have found that things are quite different than the base implementation).

Anyway, I solved the babel error message by running the following command

npm i @babel/plugin-proposal-private-property-in-object