grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

Meteor App

Open emiledpretorius opened this issue 9 years ago • 5 comments

Firstly, well done on your web builder! Secondly, I'd like to know how one would go about including the builder in a Meteor app? Thanks in advance.

emiledpretorius avatar Jul 14 '17 23:07 emiledpretorius

I think exactly as you will do with any other js library

artf avatar Jul 17 '17 19:07 artf

@emiledpretorius Were you able to import grapesjs? I ran the imports but none of the menus are rendering.

import grapesjs from "grapesjs";
import "grapesjs/dist/css/grapes.min.css";

componentDidMount() {
        let editor = grapesjs.init({
            container : '#gjs',
            components: '<div class="txt-red">Hello world!</div>',
            style: '.txt-red{color: red}',
        });
    }
cursor_and_appsforadvisors appsforadvisors_and_developer_tools_-_http___localhost_3000_admin_nlgzawmofa5zwcpmj_manage_pages

kartboy16 avatar Jul 24 '17 20:07 kartboy16

@kartboy16 I think you're importing, somewhere, jquery twice

artf avatar Jul 31 '17 14:07 artf

You need the spectrum colorpicker ;)

oransolutions avatar Feb 10 '19 19:02 oransolutions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Feb 10 '20 22:02 lock[bot]