Adding Zoom-in-out Canvas Functionality in GrapesJS Editor #4713
Unanswered
shelendravashishtha2
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to implement Canva like UI for GrapesJS Pages(screens) to render, edit all the screens present in GrapesJs PageManager in React JS. According to the knowledge I have, functionality to render all the Pages(screens) in the GrapesJs is not there. So the problem is that I can't handle the state of Every Page
So I tried to make a function that manually creates container div for every screen by using DOM functionality. But the problem is I can't Save the style JSON for each component as for every render the screen is getting updated and component's css selectors might be getting updated.
Function to render the all screens on the GrapesJS Editor ( that acts as the Canvas).
The result above code produces is :
Beta Was this translation helpful? Give feedback.
All reactions