#3065October 7, 2020by Davidvlv3 answers
Version: 0.16.22 Are you able to reproduce the bug from the demo? [x] Yes [ ] No What is the expected behavior?Hover over body in the layers - body element has the class gjs-hovered and has a blue outlineMove mouse up and out of the layers body element should remove gjs-hovered and no longer have a blue outline What i...
fq-selbach
I discovered another issue with gjs-hovered. Sometimes the blue outline will move during scrolling. Check out this JsFiddle (and scroll with mouse-wheel): https://jsfiddle.net/vb7r1zns/ It seems to happen only when the HTML code starts wit...
artf
Thanks @Davidvlv for the report. The fix will be available in the next release. @fq-selbach your issue is a bit different, that happens with scrollable inner elements.
fq-selbach
Since you closed this I've created a new issue for the related problem: https://github.com/artf/grapesjs/issues/3152
#3064October 6, 2020by terdinatore2 answers
Version: v0.16.22 Are you able to reproduce the bug from the demo? [X] Yes (Newsletter Demo) How to reproduce Export the default template or your own template (after you imported it) and send it using [](https://putsmail.com/). Open the mail on an iPhone. What is the expected behavior? When sent to a mobile device (in...
boomshakar
The workaround to this issue is setting the body to 100% width & height, then the email container itself should have a max-width of 550px and width of 100%, then height: auto and min-height: 100vh or 150px
artf
Hi @terdinatore the core of GrapesJS is about creating the editor for building stuff with HTML/CSS/JS, but building the right email blocks/components is up to who integrates the editor
#3063October 6, 2020by HeyWrecker3 answers
Version: 0.6.18 You can get the version by typing grapesjs.version into the console Are you able to reproduce the bug from the demo? [ ] Yes [x] No I think this may be due to the demo being in full screen mode? What is the expected behavior? I would imagine that the Rich Text Editor toolbar placement should be near th...
artf
Look, in the latest release, we've added this option https://github.com/artf/grapesjs/blob/8822aa6c6e8ced09ad50f2c8392f1754d3a6ec8b/src/editor/config/config.js#L151-L157 So, at first, ensure you're not serving a cached grapesjs version fro...
HeyWrecker
@artf Like you, I wasn't able to reproduce in a fiddle. So I began decomposing the HTML piece by piece until I discovered that one of the primary site containers had an overflow-x: hidden; defined on the class and for some reason or anothe...
MartinPutz
@HeyWrecker I've seen something similar when no device is selected or the canvas is manipulated by external JS. Could you check the currently selected device using: https://grapesjs.com/docs/api/editor.html#getdevice
#3062October 5, 2020by dharmatv1 answer
Version: 0.15.9 What is the expected behavior? After clicking on the uploaded image in the asset manager, that modal should be closed Describe the bug detailed After clicking on the uploaded image in the asset manager, that modal shouldn't be close Could u please provide a solution on how to hide the modal after click...
artf
You can read here about how to extend assets https://grapesjs.com/docs/modules/Assets.html
#3061October 2, 2020by timramseyjr1 answer
Version: 0.16.22 What is the expected behavior? changing Trait property(columns in demo) should trigger POST to remote storage regardless of changeProp https://jsfiddle.net/tntramsey/vgbeLarj/3/ - changing columns on the 'Test Plugin' initiates a POST to the remote storage https://jsfiddle.net/tntramsey/n7tgojhy/4/ -...
artf
changeProp in this case updates the component property and being custom is not tracked. As a workaround you can propagate them in this way (in your custom component model)
#3052September 30, 2020by MudassarSandhu2 answers
I have extended the link component and add new traits like href. In order to show or hide the trait i followed this #https://github.com/artf/grapesjs/issues/1460. But how to show those hide traits again on the basis of another trait change value? Right now what i have done is But its not reflecting the changes in the...
artf
You've called the trait name: 'select-type', but you're listening to change:selectType, so fix it by changing the listener in change:select-typeDon't rely on the trait value this.getTrait('select-type').props().value but on the component i...
chaegumi
getTrait('ID').view is undefined.
#3051September 29, 2020by ashercoren1 answer
Version: dev branch (pre-release) What is the expected behavior? When running npm test or npm run build, the tests should complete successfully. What is the current behavior? I tried to build a production version of the repo, but npm test fails on multiple errors. I traced back the commits and the commit the broke the...
artf
Thanks @ashercoren I've seen it and fixed it locally but not yet updated the remote branch as I've noticed there is another issue to fix on Travis. I'll update it soon btw
#3048September 25, 2020by ealipio2 answers
Version: 0.16.22Are you able to reproduce the bug from the demo? [x] Yes [ ] NoWhat is the expected behavior? no errors in the console.Describe the bug detailed File involved is: https://github.com/artf/grapesjs/blob/6296bf8c970f700aa69e44728b7db80833452f69/src/dom_components/view/ComponentTextView.js#L61
artf
Weird (the view component can't exist without the model), are you able to provide exact steps to reproduce the issue?
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...
#3047September 24, 2020by BCleverly3 answers
Current version: 0.16.22 Are you able to reproduce the bug from the demo? [x] Yes [ ] No What is the expected behavior? Be able to apply and remove the Strike-through styling via the mini toolbar on a selection and remove it via the same process What is the current behavior? You're able top apply the styling via the m...
Ju99ernaut
This is as a result of this change #2886, as a temporary fix you can use: This adds a button that removes all formatting tags.
artf
Will be fixed in the next release
BCleverly
Thanks @Ju99ernaut - appreciate the help :)
#3045September 23, 2020by ghost2 answers
Version: 0.16.22 Are you able to reproduce the bug from the demo? [x] Yes [ ] No What is the expected behavior? To import grapejs css and module Describe the bug detailed SyntaxError: Invalid or unexpected token at Object.Module.extensions..js (internal/modules/cjs/loader.js:1157:10) AND /project/nodemodules/grapesjs/...
artf
sorry, are you able to provide a live example?
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...