#5046April 12, 2023by abubaker4173 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 111.0.5563.147 (Official Build) (64-bit) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug? this is the image link where you can check https://ibb.co/0Qg7nTK What is th...
artf
@Spiral1234 there is a big difference between a default value and the defined one (even if it's the same as default). For example on desktop you define float: right and on mobile float: none, you still need the possibility on mobile to rem...
abubaker417
@artf, let me define you one more time. My question is that if I click on the default value of any module like for float I select `none then cross svg should be display: none same as I want for others position, text-align if someone will s...
artf
@Spiral1234 it shouldn't be display: none if you SELECT the default value, try to read carefully again the use case explained above, having the default value and selected one is DIFFERENT.
#5045April 12, 2023by ronaldohoch1 answer
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Brave last versionReproducible demo link https://grapesjs.com/demo.htmlDescribe the bug How to reproduce the bug?Drop an image. Select the droped image.Run the code above.Duplicate the imageSelect the droped image.Run the co...
artf
@ronaldohoch please use the proper documented API
#5042April 11, 2023by pittleCheung1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? latest version of Chrome Reproducible demo link null Describe the bug How to reproduce the bug? it's easy What is the expected behavior? I want to use editor.load to load data and switch pages, but I don't want editor.Stor...
artf
You can update dynamically stepsBeforeSave in order to avoid triggering the store on Storage call. Please next time use Discussions as this is not a bug but implementation question.
#5040April 10, 2023by abubaker417No answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 111.0.5563.147 (Official Build) (64-bit) Reproducible demo link I provided code Describe the bug added styleable events such that styling can be overwritten https://github.com/GrapesJS/grapesjs/issues/1041 https://...
#5037April 6, 2023by siddhi13973 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link NA Describe the bug How to reproduce the bug?...... What is the expected behavior? ... When I drag external content inside the editor it should be dropped at specific position What is the curr...
siddhi1397
Hi @artf , When I drag external content inside the editor it should be dropped at specific position but it is overlapping the existing content in the component. So is there any way where I can place text at the specific position without ge...
artf
@siddhi1397 please don't open bug issues as features/questions
siddhi1397
Okay sorry for that. @artf But can you please help with how can this be implemented?
#5020March 31, 2023by at-codes1 answer
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? ChromeReproducible demo link https://jsfiddle.net/em9kt2Lb/Describe the bug How to reproduce the bug? Implement the code below on editor load What is the expected behavior? Button titles change and stay changed What is the c...
artf
Hi @at-codes titles for panel buttons are connected directly to i18n locale strings so you'll need to update those strings there. You can find more info about the i18n module here.
#5019March 31, 2023by julia-alberici1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v111 Reproducible demo link https://codesandbox.io/s/grapesjs-react-components-forked-h3j496?file=/src/index.js Describe the bug How to reproduce the bug?Start a project with grapesjs using ReactjsUse loadProjectDat...
julia-alberici
For the record, this wasn't really a bug, and i could achieve the expected behavior replacing editor.onReady(() => { editor.runCommand("preview"); }); with editor.on('update', () => { editor.runCommand('preview'); });
#5009March 24, 2023by Drive4ik1 answer
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? only Firefox (all versions)Reproducible demo link https://jsfiddle.net/03m6jz5f/Describe the bug How to reproduce the bug?clear browser cachetry import template with style tag which has @import font url What is the expected...
artf
Not really fixable as GrapesJS parsers can't be asynchronous right now but in any case, from the performance perspective, you should never use @import in your CSS as it generates a blocking request
#5006March 24, 2023by sandipshirawala1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v91 Reproducible demo link https://jsfiddle.net/szLp8h4n Describe the bug $html = str_replace(" ' "," \' ",$html); Code of Conduct [X] I agree to follow this project's Code of Conduct
artf
Provide a valid reproducible demo link, not the one used as a template
#5003March 23, 2023by ngoc1991 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 111 Reproducible demo link https://jsfiddle.net/9zf4kd6e/ - this is the demo of Designer Mode Describe the bug How to reproduce the bug?Add an image component with dragMode absoluteUpload a large enough SVG image. Y...
artf
@ngoc199 I'm addressing most of the issue about absolute mode here. I think the resize issue could be easily added here but the large embedded SVG image (by default, without an external asset storage, images are inlined) it's seems more li...