ronaldaug / gramateria

Drag and drop web builder with Grapes js, Bootstrap 5, Electron js and Netlify deployment.
MIT License
652 stars 197 forks source link

Can i use inside a div as part of a larger form? #36

Open RodriAndreotti opened 3 years ago

RodriAndreotti commented 3 years ago

Hi!

I have a self-developed admin panel that I use for my clients' websites, on it I used a module for grapesjs called grapesjs-blocks-bootstrap5, but I needed to reinstall the node-modules folder and it looks like the module developer removed all his traces from the internet, so he broke my panel. I wonder if I could use Gramateria inside a div and play its content to a hidden input?

My dashboard is made with PHP so I would need this post to save along with the other fields I use for pages. I ask because I saw in the readme that the purpose of the project is to be used as a standalone application.

This is the way I use it today and it would need it to work: image

ronaldaug commented 3 years ago

I wonder if I could use Gramateria inside a div and play its content to a hidden input?

Could you elaborate this question? Do you want the blocks from Gramateria to be in your panel?

As Gramateria has no proper documentation, it can be difficult for you to integrate with your panel. You can also check Gramateria codes under this config folder

RodriAndreotti commented 3 years ago

Hi! That's right, integrate it, but inside a container as part of a larger page.

In the example above, I'm using grapesjs within the "Contéudo" panel, the idea would be to do something similar, but using Gamateria.