GrapesJS Issues

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

1180 issues found

#1629December 4, 2018by Brandonwaichunyu3 answers
1 reactions

Grapesjs- When i drag and drop the video into the canvas, i want it to be selected on Component Setting right away

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...

abhi-161994

hi @Brandonwaichunyu Visit this https://github.com/artf/grapesjs/issues/174

Brandonwaichunyu

Grapesjs- When i drag and drop the video into the canvas, i want it to be selected on Component Setting right away? Any codes for it?

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.

#1626December 3, 2018by ProfSaputo2 answers
0 reactions

[Bug] Wrong Placeholder marker when inserting in column flexbox component

Hello artf, I have a Problem with the Insertion Placeholder Marker. When you insert a component in a Flexbox-Parent it is always vertical (as normally required). But if you change the flex-direction property to column, the items are sorted vertically, so the Placeholder should be horizontal, as for example block items...

artf

Thanks @ProfSaputo I'll fix it 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.

#1623November 30, 2018by froderf3 answers
0 reactions

Same Design for all blocks

Hi @artf , this is not actually a bug but I would like to ask if there is something like global design for every blocks. for example all images has same border and border radius What I want to do isSet global design that will apply on all blocks. e.g img, button, text, columnsGlobal Design that is editable and will ap...

ProfSaputo

I think for the first Point you are searching for normal Components? https://grapesjs.com/docs/modules/Components.html#how-components-work

froderf

I did look at the link but it doesn't have what I'm looking for but I really appreaciate your help. What I'm looking for is something like this:I have a custom UI that generates this code belowNow I need this generated code to be applied o...

artf

@froderf it's up to you how to create/maintain a Design System, you can import your classes and them by changing them you will change the design on any component with that class

#1614November 28, 2018by gcoda3 answers
0 reactions

[Bug]: adding css variables as style manager property

trying to add css variable to style manager causing error: Uncaught TypeError: Cannot read property 'toUpperCase' of undefined fiddle Am i doing something wrong? Fixed by changing utils/mixins.js#L76 to

artf

Hi @gcoda you should use property for the CSS property name (eg. color)

gcoda

Yes, it works with regular properties like color, is there another way to edit css custom properties on components?

artf

is there another way to edit css custom properties on components? Well, not currently, the style manager was made to edit style properties and not CSS custom one, but they have a lot in common

#1613November 28, 2018by ProfSaputo1 answer
0 reactions

[Bug] Style Properties of Composite Styles are not cleared right

Hello Artf, I have worked a little time with your great Editor, and found this (and maybe one more, further testing required) bug. I found it in my local Version, but it appears in the Webpage-Demo as well. If you change style values on a composite style field (I tested it with padding and margin), the composite label...

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.

#1612November 27, 2018by Brandonwaichunyu1 answer
0 reactions

Grapesjs, is there a code for View code????

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.

#1609November 26, 2018by Brandonwaichunyu2 answers
0 reactions

Grapesjs, How to extract html/css code in view code into console log?

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...

Brandonwaichunyu

View code doesnt appear on my javascript

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.

#1606November 26, 2018by tranthanhhoa1 answer
0 reactions

[Bug] Input disappear on clear

How to reproduce it:Goto https://grapesjs.com/demo.htmlDrag a form in Forms category into canvasType something => focus out => focus in => hit delete key Result: Input disappear Expect: Input shouldn't disappear when user delete text

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.

#1599November 20, 2018by 00salmon3 answers
0 reactions

[Bug] Drag and drop rendering improperly

Version 0.14.40Click "Continue"Select "You have successfully signed up!" header (sqh-header)Drag sqh-header block between "Give $10 and Get $10" and text belowsqh-header appears visually above the Give $10 Header, but below the Give $10 Header in the layer managerDrag sqh-header beneath "Rewards Dashboard" back inside...

artf

Seems like the issue is due to different empty "textnode"s you have in your JSON. How do you obtain that structure?

00salmon

Hey @artf, Thanks for pointing that out. The JSON came from an internal example with more components and the missing bits must've been converted to empty textnodes. I've removed the empty textnodes in the jsfiddle, but still seem to be get...

artf

Please update the live demo with cleaned JSON

#1598November 20, 2018by kewilson2 answers
0 reactions

[Bug] Security Vulnerability Detected

Hi, our SAST scanner detected the following, thought you might like to know. https://raw.githubusercontent.com/artf/grapesjs/dev/dist/grapes.js Code (Line #29702): this.setElement(this.createElement(.result(this, 'tagName'))); ClientDOMStored_XSS exists @ public/dist/grapes.js Severity: High CWE: 79 https://cwe.mitre....

artf

Thanks for the report @kewilson but that line is totally legit for the editor. The library itself shouldn't be "able to hurt", most of the vulnerabilities might be added during the integration

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.