#826February 1, 2018by maxtacco1 answer
Hi, I think there is a bug related to the generation of element id attributes. When modifying element's style the value of the element's id attribute is auto generated and added to the HTML that once can see in the Code editor. Then the id attribute value is updated correctly when Id editor is used in the Settings to...
maxtacco
Also, if this is the case would be nice to set the default "empty" value strategy for traits in the configuration of a component. For example, emptyValue: "" or emptyValue: null or emptyValue: () => {}.
#823January 30, 2018by JulyanoF2 answers
When I use editor.getSelected().set('content', 'somethig'), theoretically it changes value correctly as I see in editor, but when I call editor.getHtml() or I enable autosave (that probably call getHtml()), it is showing "<div class="c891">somethingInsert your text here</div>". It is always incrementing the text. Edit...
artf
https://github.com/artf/grapesjs/issues/820#issuecomment-361732512
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.
#810January 26, 2018by JuanTincho1 answer
Hi! When the window is resized horizontally the toolbar stays in the same place. Here is a pic from the demo version: I noticed if I add methodsmethod; to the toggleSelectComponent method in commands/view/SelectComponent.js file, the issue seems to be solved. I don't know if it's the correct approach. Thank you!
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.
#809January 26, 2018by maxtacco3 answers
I'm using grapesjs-blocks-basic plugin that has a number of column blocks. When I drag and drop these blocs onto the canvas they are displayed correctly for the first time and I can see the associated CSS added in the code viewer. But, once I invoke 'core:canvas-clear' command and drag-and drop the same blocks they ar...
artf
I just merged https://github.com/artf/grapesjs-blocks-basic/pull/4 which solves the issue. I'll publish soon a new release of the plugin
artf
Done https://github.com/artf/grapesjs-blocks-basic/releases/tag/v0.1.3
#806January 26, 2018by chiqui3d1 answer
Hello! As I say in the title the arrows to increase or decrease the rotation of any element in the canvas does not work. Nor does it work to modify the color in transitions. All this in the extra section of the block manager Thanks!!
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.
#800January 25, 2018by larshisken2 answers
Hi We're using postcss-cssnext plugin in our webpack project. Importing the grapes.min.css results in the following error:
ericscottmarquez
I also get this error trying to compile sass files with references to other files in a react app on rails using the webpager gem. Did you find a solution?
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.
#768January 16, 2018by frank-tenzing3 answers
Hi @artf , Created this issue due to https://github.com/artf/grapesjs/issues/214 has been closed ... I cloned the latest repo and run it on IE 11, an error: SCRIPT438: Object doesn't support property or method 'replace' - grapes.min.js (15612,7) demonstrates on the console, when I clicked it, it jumped to the line in...
artf
@frank-tenzing not sure if it's IE's only error, are you facing this issue with some kind of template (which probably contains some SVG element)?
frank-tenzing
Hi @artf , what I have done after cloned the latest repo are 1). Replaced the start script with "start": "webpack-dev-server --open --progress --colors & npm run build:css -- -w",; 2). Commented the editor.BlockManager.add('testBlock', { l...
artf
@frank-tenzing thanks, but what about other browsers?
#735January 9, 2018by austinbiggs3 answers
I'm encountering a strange bug, when resizing a single image, the sibling photo is also being resized. My only thought is around how the corresponding image is being resized. Perhaps the selector that Grapes is choosing is too vague?
ryandeba
Hi @AustinTBiggs, I suspect that grapesjs is applying the height/width styles to a class which is applied to both images. Could you check to see if both images have the same class?
artf
Hey Austin, as suggested by Ryan, just remove the class
austinbiggs
@artf - I can do that as a quick fix. However, it seems counter-intuitive. Classes in CSS are meant to be re-used. If the "fix" is to remove the class, that seems to me that the issue is how Grapes deals w/ classes. I use classes on images...
#731January 9, 2018by ryandeba2 answers
Hi @artf, I had previously mentioned in a pull request that traits of type color do not work. At the time I didn't have a need for them, but now I do so I'd like to look into fixing it if you haven't already started on it. The bug is in the InputColor object when it calls model.setValueFromInput - traits don't have th...
artf
Does the Trait object need a setValueFromInput method? This leads to the duplication of code but still think this will gonna work better moreover setTargetValue it's not actually a correct way because you have to update the model first (a...
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.
#701January 2, 2018by austinbiggs3 answers
What I'm trying to achieve: I have special "data-" attributes on some of the components I pull into the editor. When one of these is modified, I want to get the value of the "data-" attribute and the new content. I have code listening to when a component is modified. When this event fires, I'm checking the content (wo...
artf
Hi Austin, the reason behind your issue it's just because the built-in RTE works differently from a custom one (eg. CKEditor plugin) which just writes all changes inside content. https://github.com/artf/grapesjs/blob/dev/src/dom_components...
austinbiggs
I’ve been digging through more code and from what I can tell, this doesn’t happen in when using the CKEditor plugin (tested using the newsletter demo). However, when using the default RTE it does occur (tested on my own code and the websit...
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.