Questions tagged [grapesjs]

GrapesJS is a free and open source Web Builder Framework which helps building HTML templates, faster and easily, to be delivered in sites, newsletters or mobile apps.

GrapesJS is a free and open source Web Builder Framework which helps building HTML templates, faster and easily, to be delivered in sites, newsletters or mobile apps.

Resources

158 questions
1
vote
1 answer

Dompurify.sanitize don't allow script tag even I had added FORCE_BODY: true and ADD_TAGS:["script"]

Please can anyone tell me what I did wrong here? What should I do to allow the script tag? My Html string data coming from database will be the same pattern as I showed here. const cleanHtmlString = DOMPurify.sanitize("
Tanmoy Sen
  • 111
  • 10
1
vote
0 answers

How to and where to use gethtml() in grapejs

I have to get the backend code generated by grapesjs. How do I use editor.getHtml() to get the backend code? Where do I put it in the code?
Leo
  • 11
  • 1
1
vote
0 answers

Grapes Js: The css classes are removed and the autogenerated ids for each html tags gets changed ( Example : ivj5m-2) after each reload

How to reproduce the bug? Install the grapes js in react app Go to the editor and drag a component. ( Example : text component) Style the component using the style manager save it into DB and see the code in the editor Reload the page see the code…
Sudhin M
  • 11
  • 2
1
vote
0 answers

Grapesjs custom storage as plug-in, not getting options and getting error for blocks section

I'm having some issues trying to load content using a custom storage manager as a plugin, that's the only way it works according this: https://github.com/artf/grapesjs/issues/2526 I need to pass the data to the load method, I'm trying to use the…
Jorge Rodríguez
  • 347
  • 2
  • 5
  • 17
1
vote
0 answers

How to load Grapes JS inline without canvas?

I am trying to use grapes Js to edit the HTML (i.e font size, color, etc). I am loading the HTML and CSS dynamically into the grapes Js. But I want to know is there a way to have the functionality to edit the font size directly in that HTML without…
1
vote
1 answer

Is there a solution to store data as json?

I use Grapesjs editor. And now I know only 1 way to store the content. The situation is the following: I have Grapesjs block 'About us' which I populate with child cards components. And then I get the content with editor.getHtml() and I may get…
Mikael
  • 1,209
  • 1
  • 16
  • 47
1
vote
0 answers

How to define exact place where component dropped?

I use Grapesjs and I have 'about us' block on my page. I want to make this block editable with Grapesjs. So there is the container and child items with photo and description. My understanding is the following: Grapesjs block should represent the…
Mikael
  • 1,209
  • 1
  • 16
  • 47
1
vote
0 answers

How to get the grapejs editor instance inside model or view of grape's component

I am using grapejs as a template builder and I want to access grapejs editor instance inside the model or view of the component. When I am passing it as prop to the component while adding it to block manager Error: "Converting circular structure to…
1
vote
1 answer

How to use/link external api to show the fetched data in the grapejs component

I am new to grape and backbonejs.I want to make a template builder which apart from having default components provided by grapejs like the label, image etc will also have custom components for ex - Top 5 products today having an image and product…
1
vote
1 answer

How to set HTML and CSS in your grape js editor?

I was working in grapesjs and just want to know is there a way to render the HTML and CSS saved in your DB to show inside the grapesJS editor. I saved the HTML and CSS inside the DB and want to render the design inside the editor. is this possible…
Jane
  • 127
  • 1
  • 4
  • 13
1
vote
0 answers

How to make bootstrap 4 carousel work with grapesjs?

I've successfully built a little drag and drop builder with grapesjs. Works great. The problem I'm facing is when dragging a bootstrap carousel inside the builder. The carousel works as expected on a regular page. But when inside the framework, only…
Grogu
  • 2,097
  • 15
  • 36
1
vote
1 answer

How to add multiple pages in grapesjs?

I want to include multiple pages in grapesjs framework.
1
vote
1 answer

GrapesJS not displayed properly

I tried to integrate GrapesJS into my angular page, but it's not displayed correctly. I tried some other workarounds from here and from other pages but any of them helped me with my problem. I think its better to watch it instead of describe the…
Cerius
  • 11
  • 1
1
vote
0 answers

Issue in grapesJS - Asset manager handling

I'm now working on grapesJS implementation in our application. I have gone through documents provided & some of the issues reported regarding the asset manager in Github, etc.. I was not able to show the list of uploaded images in the Asset manager…
Sinto
  • 3,915
  • 11
  • 36
  • 70
1
vote
1 answer

Integrate select2 or any custom select plugin in grapesjs Style manager

The problem is the default select element in the html is not good so what I want is to implement select2 plugin for the select in the Style manager of the grapesjs. As you can see in the fiddle I have tried it and it works but the thing is if we…
Jithin Raj P R
  • 6,667
  • 8
  • 38
  • 69
1 2
3
10 11