GrapesJS Issues

Search parsed GitHub issues, see highlighted answers, and open the original discussion when needed.

3464 issues found

#1726January 14, 2019by Aurelain1 answer
0 reactions

Changing "start" to "flex-start"

Hi, artf. It seems the "start" value of the "justify-content" property is not very well supported: https://github.com/artf/grapesjs/blob/8af686cb7fa66863c04b786ed1aa704e5406252e/src/styles/scss/gjstraits.scss#L18 The precompiler throws the following warning: I think changing it to "flex-start" has no bad consequences.

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.

#1724January 11, 2019by Ramkumar-Murugesan2 answers
0 reactions

[QUESTION] link custom traits to my custom blocks

Hi, i have created a custom traits and custom blocks but i try to link my blocks in traits, it does not shows in settings option my custom blocks my custom traits can anyone please help me Thanks

artf

This is not a [QUESTION], please FOLLOW the instructions for a bug report and PROVIDE a live demo of your issue

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.

#1723January 10, 2019by Ramkumar-Murugesan2 answers
0 reactions

[QUESTION] replacing particular text in dropped component

Hi, I get the value from custom traits from what I entered but I don't know how to change the particular value in dropped component and render into the canvas my screenshot what I really want is to replace the regular text value to which I have entered in custom traits u can see in my screenshot my custom traits is he...

artf

Please check the Component API

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.

#1722January 10, 2019by Ramkumar-Murugesan2 answers
0 reactions

[QUESTION] how to make my custom tag as selectable and editable inside of canvas ?

Hi, I try to change my custom tag of ion-item has div in view properties but It doesn't work for me as I expected. my custom Blocks is my custom view is comps.addType('form-type', { model: defaultType.model.extend({ tagName: ion-item }, { isComponent(el) { if(el.tagName == 'ion-item') return {type: 'form-type'} }, }),...

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.

#1721January 9, 2019by ThunderDev12 answers
1 reactions

[QUESTION] Resize image before adding it as base64

I'm currently adding images to the canvas as base64 (embedAsBase64: true). I don't want to upload the image for the moment, to keep things simple. But, I want to be able to resize or crop the image before adding it through the asset manager as base64, to avoid oversized images added by the user. Basically I would need...

artf

Well, obviously you can't resize and crop without having all the image data at first. So, on asset:add event propose your "crop and resize" solution and then update the asset with the new data

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.

#1720January 9, 2019by Ramkumar-Murugesan3 answers
2 reactions

[QUESTION] How to add the button in custom traits

Hi, I try to add a button to my custom traits for my custom blocks but its not working fine as expected and also need to know how to call the function when we click that button, add icon inside that button also my code : my error screenshot: in the above screenshot, u can see an Add label inside the settings so what I...

ploutos27

hi again :) My bad, html button tags need textNode value is not visible remove value and add a textNode instead

ploutos27

Hi, First you need to define the new trait (button) and create it. After you define the new trait type you must call it inside you custom block

Ramkumar-Murugesan

@ploutos27 Thanks for your reply, I tried your code but it shows input box instead of button and my updated custom traits code is and my custom blocks is can u help me

#1719January 9, 2019by AkibDeraiya1232 answers
1 reactions

Event while click on image from asset modal

Hello @artf , Hope you are doing well. I am working on asset-manager. I have total 5 images as a default asset-manager image. I want to do like, 1) When user click on any default image from template then i want to change this image's id (Want to know about this how can i change) 2) Then once asset manager pop-up opens...

artf

i had tried with this event for change id, but not worked You should use setId methodWhen this asset manager will close then also need to get event that notify like modal is closed and on which image tag i had clicked. (Want to know about...

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.

#1718January 8, 2019by Ramkumar-Murugesan1 answer
0 reactions

QUESTION The name entered in the Traits for checkbox label is not getting updated to my html custom components.

WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdUse the GitHub Issues EXCLUSIVELY for BUGS, FEATURE REQUESTS or QUESTIONS. Prefix the title of the issue with its context, eg. [Bug]: ....Do a quick...

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.

#1717January 8, 2019by chiqui3d2 answers
1 reactions

Event on Close and Open Modal

I think it would be necessary to add the close and open modal events in the editor. Is it possible?

artf

Sure, I'll add them in the next release

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.