Questions tagged [grapejs]

7 questions
1
vote
1 answer

How can I get the full grapejs HTML with html and head tags?

I can't find in the documentation how to get a full working html using grapejs. I have a config object: export const configObject = { container: "#gjs", fromElement: false, height: "50rem", width: "auto", commands: { defaults:…
Ericson Willians
  • 7,606
  • 11
  • 63
  • 114
0
votes
0 answers

Form not submitting in GrapeJS

I am working on custom landing page builder and for that I am using Grape.js, I have added form plugin and there is an input for endpoint and Action. Users will mostly add a contact us form. But when the user clicks on the submit button no request…
0
votes
0 answers

Rendor Repsonse value in Block Manager grapesjs reactjs

I want to create dynamic content from api in Grapejs please check code what is the issue. Please advice me thanks import axios from 'axios' export default (editor, opts = {}) => { const str = 'Bearer '+token; axios({ url: 'getData', method:…
0
votes
0 answers

External Image URL Not Working React GrapeJs

Using a package called GrapeJs allowing editor to make dynmaic templates. Recently I upgrade my React Project, below are the packages that I upgraded. "grapesjs": "^0.18.1", "grapesjs-preset-webpage": "^0.1.11", "react":…
0
votes
0 answers

Why top navbar and sidebar not visible in grapejs?

Can you explain me the problem that I have in my code...I am trying to get grapesjs editor into my code...Can anyone help me out on this one?? import React, {useState, useEffect} from 'react'; import grapesjs from 'grapesjs'; import Basics from…
0
votes
0 answers

How to Stop Dropping Same Blocks Multiple Times in Grape-js Editor Panel

How to Stop Using Same Block Multiple TImes in Grapes-js Editor For Example I am using H1 Block on the Editor again if i drag and drop the H1 Block it should not be Drop in the Editor Panel
Rakul Agn
  • 63
  • 1
  • 5
0
votes
1 answer

How do I add an Iframe Block in Grapejs?

I want to let my users add Iframe-Content to their page that they create via GrapeJS. For this I want to add an IFrame-Block to the GrapeJS editor, but I'm struggling to get it to work. Can anybody help? There is this SO answer, but it only works…