GrapesJS Issues

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

1180 issues found

#1491October 9, 2018by shlomoko2 answers
0 reactions

[BUG] Using slider in composite styling

When adding a slider to a composite type property I am getting the following error (when trying to change value of slider):InputNumber.js?d43d:244 Uncaught SyntaxError: Invalid regular expression: /^initial|inherit/: Stack overflow at child.validateInputValue (InputNumber.js?d43d:244) at child.parseValue (PropertyInte...

artf

Open the issue in the correct repository and indicate steps to reproduce it, when trying to change value of slider what does it mean?!?

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.

#1488October 9, 2018by rgernale1 answer
0 reactions

Multiple Block Mangers

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.

#1480October 6, 2018by david-polak2 answers
0 reactions

[BUG]: "component:remove" event triggers when components are moved

Similar to #868 event is fired on move. https://jsfiddle.net/fnjmxyr4/

david-polak

Sorry, it does not. I was debugging the wrong thing.

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.

#1476October 4, 2018by detectedstealth2 answers
0 reactions

[BUG]? Asset Manager remove button for assets

Using the demo web preset template as a starting point, I noticed the remove asset button doesn't show up in the UI. Viewing source shows the button. It there some other setting that needs to be enabled for the remove button to be functioning?

artf

Probably related to some style of the preset, please open the issue in the relative repository

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.

#1474October 2, 2018by keithstric3 answers
1 reactions

[BUG] FontAwesome request fails with 404

This is for version 0.14.33. After initializing the canvas and selecting an element 3 network requests are generated to the following: https://cdnjs.cloudflare.com/ajax/libs/grapesjs/0.14.33/fonts/fontawesome-webfont.woff2?v=4.7.0https://cdnjs.cloudflare.com/ajax/libs/grapesjs/0.14.33/fonts/fontawesome-webfont.woff?v=...

artf

cdnjs doesn't store fontawesome in grapesjs (but grapesjs' CSS tries to load them). The solution proposed by @detectedstealth it's for the canvas CSS so it has nothing to do with this editor CSS issue So try to include fontawesome manually...

detectedstealth

@keithstric for me to get font awesome to work in the editor I needed to add: To the init({}). Have you tried that?

keithstric

Thank you for your response. So, gave that a go, I added: canvas: { styles: ['https://cdnjs.cloudflare.com/ajax/libs/grapesjs/0.14.33/fonts/fontawesome-webfont.woff2?v=4.7.0'] }, to my init options, but still get the same behavior. I tried...

#1473October 2, 2018by detectedstealth2 answers
1 reactions

[BUG] Canvas external CSS

Comments in canvas/config.js state the external styles are added to the head of the iframe however the code in view/CanvasView.js actually appends the CSS to the body of the iframe. Expect it to work how the external scripts do where they are appended to the head correctly.

artf

Should not cause any issue as being the first element inserted but for the sake of completeness we gonna move it inside the head element

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.

#1468September 27, 2018by kornflex3 answers
0 reactions

[bug] modaltitle no effect

Hello, I can't translate asset manager title to french. Example : assetManager: { storageType: '', storeOnChange: true, storeAfterUpload: true, modalTitle: 'Gestion des images', uploadText: 'Glisser - déposer les images ici <br><br> <i>(2Mo max par image)</i>', addBtnText: 'Ajouter', ... } modalTitle is not changed, i...

artf

I can't reproduce it, provide a live demo please

no-response[bot]

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...

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.

#1467September 27, 2018by kornflex1 answer
0 reactions

[Bug]: Duplicate image after upload

Hello, When I upload an image file with drag and drop in the specific zone, the image is stored on my server twice and shwon twice on the uploaded image list. Checking with firebug, I can see two requests. But, if I select an image using windows explorer ( after clicking on drop zone) or if I drag/drop the image on th...

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.

#1435September 17, 2018by benschiefer2 answers
0 reactions

[BUG] - Checkbox Traits are not rendered correctly

Checkbox type traits are not getting shown as "checked" in the component settings. To reproduce:Import markupSelect the input element in the canvasGo to Component SettingsNotice that the Checked setting is not checked. The same issue can be noticed for the "required" attribute. Similarly, if you import or or the compo...

artf

Should be fixed with the latest https://github.com/artf/grapesjs/releases/tag/v0.14.33 and https://github.com/artf/grapesjs-plugin-forms/releases/tag/v1.0.1 (changed the name of the plugin gjs-plugin-forms -> grapesjs-plugin-forms)

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.

#1432September 17, 2018by JulyanoF3 answers
2 reactions

[BUG] Custom DomComponent & Block let all elements duplicated

I created a Custom Block: and a Custom DomComponent: And a Custom Command (I found where error is happening): When I set the new link for child img, any block I add to editor, is adding twice, and when I select this duplicated block, both are selected and changed:

artf

@JulyanoF you should never do this editor.DomComponents.render() if you feel like you need that function, probably you're doing something wrong... then in your custom component, you don't set isComponent method, so please review this guide...

artf

I'm trying getting html of selected element (editor.getSelected().toHTML()), manipulating it and changing original content This is wrong... You should use Component's API, don't touch the view or even worse, its HTML. If you don't understa...

JulyanoF

@artf you are right. the problem is using render() function, that is duplicating the elements.. but, if I remove this function, the editor html didn't change.. it still showing old content and not the new. How can I avoid it? I will provid...