I am using this event many times in the application in the previous library. Now I have updated the library. I have updated the following libraries - 1) Grapesjs Library 2) Grapesjs-Preset-Webpage Library 3) Grapesjs-Basic-Blocks Library But it stops working now. Let me know if there is any change in this event.
artf
Hi @perfect-coders, with the latest version https://github.com/artf/grapesjs/releases/tag/v0.13.5 the HTML5 drag and drop is enabled by default (disableable by nativeDnd option) and unfortunately I wasn't able to keep such events with this...
perfect-coders
Thanks very much for the quick answer. I always love your quick feedback. I have some investment options for you. Hope to hear from you soon.
Please help, how can I require or import grapesjs-blocks-basic, not through <script/> tag?
austinbiggs
@goldengrisha - Can you clarify exactly what you're trying to achieve?
goldengrisha
for example if I want to include this plugin I need to add tag like this <script src="path/to/grapesjs-plugin-export.min.js"></script> and then plugins: ['gjs-plugin-export'], can it be achieved by import or require ?
we didn't find any mode to contact you , so we had generated issue over here, please feel free to close it we also into startup mode, we are interested to discuss further on this
artf
Hi @raphaelraj1035 GrapesJS is framework-agnostic so you can use it wherever you want
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.
Hi, for my project i need two panels, left and right, to show blocks/layers and style simultaneously. The panel id is hard coded in the command view files (OpenBlocks, OpenLayers). It would be good if this is configurable. I can do a pull request, but i am not sure, in which files I should put the configuration (panel...
artf
I'd just add in PanelView and put some checks in PanelView.render (just to avoid those hard coded attrs), then when you create panels you just pass attributes key
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.
I would like to use ES6 classes in the components script attribute. When I drop the component onto the canvas the error message "_classCallCheck is not defined" appears. Component code: Error message:
punkt2
I solved the problem. It turns out babel is transforming the javascript class and calls the helper function classCallCheck which is not passed to grapesjs. In the latest version (7) of babel, you can enable the loose mode for the transform...
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 to change content of nth child model of component available in the editor. Lets say there is a table with 3 TR. every TR as TD and every TD has div with some content within in it. I want to replace that content with some other content. I have assigned some custom html tags to every div. How do i find tha...
artf
@vishal5033 you can make use of model.find('tr > td[something]')[0], in this way you get the model (use the v0.12.60 as it fixes some stuff related to find)
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.