Please check the video: https://screencast-o-matic.com/watch/cFXQlQYSjWUse Mac OS last versionUse grapesjs - last version of branch devuser chrome - last version What's the problem: Drag and drop is not function as it should be when use touch device.
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 @artf, I tried to customize the options in the grapesjs editor export plugin. But only two options(addExportBtn, btnLabel) works as expected. Other options such as filenamePfx, filename, root are not working as expected. My code: I just changed addExportBtn variable into 0, the export button not visible in the edit...
artf
Wrong repositoryLook at the version: https://github.com/artf/grapesjs-preset-webpage/blob/master/package.json#L53
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, In your Components & JS documentation, it is mentioned that scripts can be added into the "block" section under a script attribute. However, after some trial and error, whenever the page is saved and reloaded, the script seems to have disappeared. When I tried to add the script into the "model" section instead, it...
artf
Probably you're not storing correctly https://grapesjs.com/docs/modules/Storage.html BTW you can add a script inside blocks but I highly recommend creating a custom component for that case
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 am trying to write up a trait that allows creating a list of forms and generates the respective in the model. So far I have this: The current issues I am unable to bind the resulting elements to the onChange event listeners. Will I have to manually wire up each element to a listener? If so how would I proceed...
artf
@dkmurakaru pay attention that you're creating not a real input therefore you should update also methods like onChange and setInputValue
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 all, I am using the latest grapesjs stable version (40) and I noticed the following bug in the rich text editor: If the user drags and drop a rich text editor into the canvas, clicks on it and tries to clone it per example (or any action in the toolbar like delete, ...), no action will happen. The user has to se...
arthuralmeidap
PR: https://github.com/artf/grapesjs/pull/1800
artf
Yeah, that happens because of this check, being in editing mode we need to prevent some actions (eg. clicking canc/backspace triggers the same command). Probably we need to put some kind of force option
alimajed93
Hi @artf , Oh I see. Can you please give me some examples of why we added this check? I mean what problems were we having and were solved by this check? Thanks.
Hi, I'm using GrapesJS to a page builder inside a Prestashop website. The idea is to set default template stored in DB with custom Blocks. Everything working fine about the store and the load of the template. My problem is that I want to use only custom blocks that i created and added to the BlockManager but with defa...
artf
You can make that class private to avoid selecting them in Style Manager, in that way you will style the component and not the rule
ThomasLaigneau
Nice one, working great ! Thank's a lot !
ThomasLaigneau
@artf The code works but I just saw that I can't see anymore the select button to see the Hover state of the element in the editor.. It come back when i remove the code you made me add..
Hi, Have a new problem, i'm following the tuto and i want to create the block "2 columns" (or more). I try to use (and understand, that's why i don't want to use grapesjs-blocks-basic) this part of code : But i don't know what i need to do in the class ".row" and ".row-cell" to make this example work... I try some sty...
artf
You should add the proper style to see something, try with something like this
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, i have an CSS issue with my project GrapesJS and i don't know why... I try to do the tuto and i haven't icons. Other issue, i can't split the window in 2 columns. I work with the last css and js version. Organisation : assets/js/grapes.js assets/css/grapes.min.css assets/fonts/FontAwesome.otf [...] main-fonts.woff...
artf
Somehow you're not able to load fonts, check in your dev-tools, probably you will see the error
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.
Version: 0.14.40 Bug: When you change "Provider" field -> all settings gone. It happens in Chrome, Safari and Firefox, last versions. How to reproduce it:Goto https://grapesjs.com/demo.htmlDrag a video block in Basic category into canvasChange "Provider" field Expect: Result:
artf
Thanks for the report @tranthanhhoa I'll fix it in the next release
Chilli-B
Hello, sorry but this has not been fixed on version 0.14.41. The bug still exists.
artf
@Chilli-B the latest release is https://github.com/artf/grapesjs/releases/tag/v0.14.40
I waonder if it would be possible n styles managemenet to get any way to change more than one property with an ony control Example: center a div is got in CSS setting the two side margins to auto, the I'm looking for a way to get a control that set this both properties to auto with just a button (I think grasperjs cal...
artf
You should create a new custom type of input by using StyleManager.addType Unfortunately that part still missing the documentation, for now, you should expect the code of some available plugins, like: grapesjs-style-gradientgrapesjs-style-...
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.