Comments (10)
Hi @thanhtunguet, thank you for replying.
This is what I have been trying to do. Not sure where I am going wrong.
import React from 'react';
import './App.css';
import {Editor} from 'grapesjs-react';
function App() {
return (
<Editor plugins={["grapesjs-mjml"]}/>
);
}
export default App;
Index.html grapejs dependencies
<script src="https://unpkg.com/grapesjs"></script> <script src="dist/grapesjs-mjml.min.js"></script>from grapesjs-react.
No, I just passed the plugins, it will be really helpful if you can paste the recommended configuration here.
from grapesjs-react.
Hi Team,
Can anybody please respond ?
Thanks,
Sahil
from grapesjs-react.
Hi @sahsharm , please read the official documentation of grapesjs and config your editor by passing onInit function prop
from grapesjs-react.
Drag and Drop in default editor without the plugins property works fine.
from grapesjs-react.
Drag and Drop in default editor without the plugins property works fine.
Did you passed both plugins mjml as a string and presetType? It may caused that error
from grapesjs-react.
Hi @thanhtunguet , if you could please help in resolving this.
from grapesjs-react.
@sahsharm Can you help me solving this?
I am a little bit busy and do not have time to solve issues of this package
from grapesjs-react.
@sahsharm Have you try this:
<Editor presetType="mjml" />
from grapesjs-react.
@sahsharm did you ever find a solution to this ?
from grapesjs-react.
Related Issues (20)
- how do i add custom component. HOT 1
- Layer Manager HOT 1
- SVG classes bugs HOT 1
- How to upload files using assetmanger to AWS S3 or digitalOcean Space HOT 1
- Module not found: Error: Can't resolve 'fs' HOT 3
- Implementation problem HOT 2
- nameof is not defined HOT 10
- onInit has no access to editor HOT 2
- Using GrapeJS on nextjs HOT 1
- Window is not defined (grapesjs-react + Next JS) HOT 4
- Export the editor data as HTML file HOT 1
- Can't import it on React and Nextjs HOT 1
- I18n support HOT 1
- Autoload not working with custom storage adapter HOT 1
- Add custom block in latest version HOT 1
- Can you create React components? HOT 3
- Property 'plugins' does not exist on type 'IntrinsicAttributes & GrapesjsReactProps & { children?: ReactNode; } HOT 5
- How to detect changes in the canvas?
- How to load HTML string in the Canvas?
- Empty block list HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grapesjs-react.