Hello to everybody. The issue is: Events, just are not fire, after dragging on (into) canvas. editor.on('canvas:dragover') editor.on('canvas:drop') editor.on('canvas:dragenter') editor.on('canvas:dragend') The code is just the demo code from repo, with adding this 4 events. Here is the code: var editor = grapesjs.init...
konstantin55000
Code is syntax. valid. Here is jsfiddle with code https://jsfiddle.net/s9b2k7vp/ Here is the demo: https://www.screencast.com/t/pWcpkM7QO
konstantin55000
Update. Events are firing, but just after block drops into canvas. I'm not sure if this an issue, because what about event canvas:dragend and canvas:dragover, if block does not drop into canvas, they just not fire at all. Here is the demo,...
konstantin55000
Much sorry. Event was not fire because of prvious version of grapes.js Thanks to everybody for attention.
Hey Guys, first thank you very much for your work, this project seems really promising. I have a few question for a website i'm building. In my case i don't need a complete Page Builder, but only a help for the end user to create/edit pages and posts contents visually, so some parts of the page should be visible in th...
artf
So, first things first, how can i include my own stylesheet in the iframe of the editor? You can inject styles and javascripts on init via canvas options My second problem is that i have some parts of my site that i need to show in the edi...
lock[bot]
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.
Hello, I have noticed the following buggy behaviour on the style manager:Using a local copy of GrapesJS (ver 0.14.5) . Tested in Chrome and Firefox both in Win10 and OSXGrapesJS is initialized and components are loaded through the loadComponents. (for example here's the JSON I used in the demo, where I load an image c...
artf
Hi @chthomos and thanks for the issue, but are you able to provide a live demo of this bug (eg. via jsfiddel)? I've just tried this on the public demo and it worked as expected
chthomos
Sorry for the late reply. I am working on a fiddle for this so you can replicate.
artf
@chthomos good, I close this then for now and reopen when the fiddle is available
I've created a new type of component an general iframe, avoiding selecting the map, but when I try to select it in canvas so that the settigns appear it's impossible for me. This is the component code.
artf
Hey @chiqui3d try to copy the view logic from the ComponentMapView. Basically you're not able to select it because everything inside it is overlapping the iframe element itself (elements inside iframe are out of the editor's scope). As you...
chiqui3d
OK, but then I can never edit the previously created iframe src, or I can do is create a div envelope with editor on load in the view, for iframe elements not created from grapesjs, right? thanks @artf
lock[bot]
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.
Could someone please let me know the required format of the response from the storage save action? I originally posted an issue under the mjml repo regarding this, but there's been no answer and moreover, I think it's probably more suited to be asked here in the main GrapesJS repo (as it pertains to GrapesJS in genera...
gordon-matt
I have updated the original issue with a workaround and made a suggestion. Feel free to close either this issue or the original under the MJML repo, as per your preference.
artf
Hi @gordon-matt and apologize for the late response. As you already get it, the store expects nothing, but onResponse callback is always executed therefore you get that error. Probably just putting typeJson && text && typeof text === 'stri...
lock[bot]
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.
Using this code I get an editor but there are no blocks. I also do not get the icons for the screen size but other icons are there. As you can see the css is getting loaded as the general layout is correct. What am I missing. I am using Vue but don't think it matters since I am simply running the code in the mounted c...
ryandeba
@enricribas As far as I know, there are no default blocks built into the core of grapesjs, however there are plugins available that will add some blocks for you. Check out https://github.com/artf/grapesjs-blocks-basic. I believe the "scree...
enricribas
I see, thank you. The readme seems to imply that that out of the box, it's more set up but I guess things have been moved to a plugin system, which is nice. Thanks.
lock[bot]
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.
In my machine grapesjs is unstable. Generally at first request throws below error. After refreshing one or two times, it works. Bug exists in all versions I used.Uncaught TypeError: Cannot read property 'componentTypes' of undefined at F.i.renderChildren (grapes.min.js:2) at F.i.render (grapes.min.js:2) at F.i.addToCo...
ateshuseyin
I found the problem. One of my chrome extension (I think it is Backbone Inspector) causes the problem. Issue can be closed
ateshuseyin
Another error is;components.js:169 Uncaught TypeError: Cannot read property 'defaultTypes' of undefined at child.renderChildren (components.js:169) at child.render (components.js:212) at child.addToCollection (ComponentsView.js:65) at Comp...
artf
Weird, never got those issues, but if you see defaultTypes in components.js you're definitely working with an old version of grapesjs