#5424September 26, 2023by bgrand-ch1 answer
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome 116.0.5845.187Reproducible demo link https://jsfiddle.net/yLcvbwjd/Describe the bug How to reproduce the bug?Add component:styleUpdate eventUpdate a style of a component with addStyle or setStyle What is the expected...
#5408September 21, 2023by quentin-bettoum2 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 118 Reproducible demo link none Describe the bug Hello there, I have themed GrapesJS following the instructions of the doc here: https://grapesjs.com/docs/getting-started.html#theming But with 0.21.6, it's not poss...
joukhar
yeah src folder is missing
artf
Same issue as https://github.com/GrapesJS/grapesjs/issues/5392
#5398September 19, 2023by padcom1 answer
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? chromeReproducible demo link https://github.com/padcom/grapesjs-import-errorDescribe the bug 0.21.6 changed the way things are exported and now VSCode doesn't see type declarations: It happens when TypeScript uses: which is...
padcom
PR: https://github.com/GrapesJS/grapesjs/pull/5399
#5392September 17, 2023by joukhar3 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 114.0.5735.199 (Official Build) (64-bit) Reproducible demo link N/A Describe the bug Latest version 0.21.6 doesn't come with src folder when installing grapesjs using npm npm install [email protected] Code of...
joukhar
it was just one file scss files are more organized and more powerful that css files but i have a backup plan
artf
@bgrand-ch I think what you're mentioning is fixable with CSS variables. I was also thinking about introducing a new small module for theming, that would allow updating the editor appearance programmatically, and under the hood, it would b...
joukhar
because of sass files to overwrite variables it is very important
#5389September 16, 2023by hannydevelop2 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? ChromeV117.0.5938.62 Reproducible demo link https://stackblitz.com/edit/node-1zsusv Describe the bug How to reproduce the bug? Run node index.js to start application. What is the expected behavior? ... What is the current...
hannydevelop
Can you check with the latest version https://github.com/GrapesJS/grapesjs/releases/tag/v0.21.6 Thank you so much @artf this works perfectly.
artf
Can you check with the latest version https://github.com/GrapesJS/grapesjs/releases/tag/v0.21.6
#5388September 16, 2023by hannydevelop3 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? ChromeV117.0.5938.62 Reproducible demo link https://codesandbox.io/embed/quizzical-galileo-cqldjh?fontsize=14&hidenavigation=1&theme=dark Describe the bug How to reproduce the bug?Store pages using the store managerTry to...
artf
Hi @hannydevelop you have custom component types but you didn't pass any plugins on grapesjs.init that's why the default div is applied
hannydevelop
Hi @hannydevelop you have custom component types but you didn't pass any plugins on grapesjs.init that's why the default div is applied I'm sorry that I am opening this again, adding the plugin in the normal way returns an error:
artf
@hannydevelop can you please show the code?
#5386September 15, 2023by kmkaliraj1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Edge Reproducible demo link NA Describe the bug How to reproduce the bug? Version: 0.18.2 We have the following error logged in our system from grapejs module. We are not sure in which scenario this error is thrown. TypeEr...
artf
0.18.2 it's quite an old version, you have to upgrade
#5385September 14, 2023by padcom3 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://github.com/padcom/grapesjs-bug-dirty-count-non-deterministic/blob/master/index.html Describe the bug Currently, when the user calls await load() the dirty count is zero. Only after the...
artf
Added also load options in order to clear the editor internal state post load
padcom
Thank you! Looking forward to the next release!
artf
Already available here https://github.com/GrapesJS/grapesjs/releases/tag/v0.21.6
#5381September 12, 2023by sammrafiNo answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? 116.0.5845.187 (Official Build) (64-bit) Reproducible demo link https://jsfiddle.net/bw4Lxp6c/ Describe the bug How to reproduce the bug? When I add a column it generates duplicate CSS in @media (max-width: 768px) What is...
#5379September 12, 2023by Sw33tgt3 answers
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome Version 116Reproducible demo link https://jsfiddle.net/h5b0ndvL/1/Describe the bug When a component is re-rendered in the canvas, a new attribute added to the model definition get rendered, but a newly added class doe...
Sw33tgt
For the moment, as a workaround, I added this in a editor.on('component:mount', (component) => {}); function until any feedback is received. It seems to be working well. In a case where a class is removed from the definition, the removed c...
Sw33tgt
Yeah, this is intentional with classes, with your approach you won't be able to remove defined classes from the component, they will keep being added on component init. Which is fine for when a class has been forgotten on a component and w...
Sw33tgt
Something like this in the initClasses() function of Component.ts would add the new classes to the element on render. Let me know what you think :