Category : grapesjs

I want to add plugins to grapesjs but I have no clue how to do it. I’ve tried pasting the view in browser code in index.html but that doesn’t seem to work. href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet" /> <script src="https://unpkg.com/grapesjs"></script> <script src="path/to/grapesjs-blocks-basic.min.js"></script> <div id="gjs"></div> <script type="text/javascript"> var editor = grapesjs.init({ fromElement: 1, container: "#gjs", plugins: ["gjs-blocks-basic"], pluginsOpts: { ..

Read more

I using grapes js editor and I would like in one column insert StyleManager and Traits Manager. How is it posible? something like in code: ` styleManager: { traitsManager: {}, sectors: [{ open: true, buildProps: [‘text-align’, ‘width’, ‘height’, ‘max-width’, ‘min-height’, ‘margin’, ‘font-family’, ‘font-size’, ‘font-weight’, ‘letter-spacing’, ‘color’, ‘line-height’, ‘text-decoration’, ‘font-style’,’background-color’,’background’], property: ‘text-align’, defaults: ‘left’, properties: [ ..

Read more