#1047April 16, 2018by faizansaiyed3 answers
Hey, I'm using CDN link for grapes js from unpkg.com In my project, I've used custom trait as a drop-down select menu which changes HTML using model.components. But today, the value is not reflecting in editor html.
faizansaiyed
When I used the previous version of GrapesJS, it works fine. [Edit] Not working in Latest @ v0.14.9, but working fine in v0.14.6
artf
Can you show me please your implementation of that trait? A live demo with jsfiddle it's even better
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...
#1041April 13, 2018by tommedema3 answers
I'd like to suggest a feature that can be enabled through config: styleAsImportant: true (defaults to false, i.e. non-breaking). I thought this was already possible by configuring the cssComposer, though I've now learned that this is not the case (see below for an explanation). I am working with templates that sometim...
tommedema
added PR at #1056
artf
It might be a good idea, but what about improving those events (eg. pass model/pr to callbacks) to allow such customizations
artf
@tommedema Components and CssRules implement Styleable, therefore you would get it in all case. do you mean that we'd have to then write plugins to listen to those events and add additional styling to the component? Not additional, you ove...
#1039April 12, 2018by dsgh1 answer
version: 0.14.8 I marked this as a bug, but it could be understood as a missing feature as well. Basically, grapesjs-blocks-bootstrap4 has some traits with an empty name, given that those traits set the (bootstrap) classes of the elements. The problem is that, as I understand it, grapesjs did not expect traits to have...
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.
#1037April 12, 2018by dsgh2 answers
version: 0.14.8Steps to reproduce the bugUse the grapesjs-blocks-bootstrap4 plugin.Use the index.html example there - Keep the default devices (which include one defined as 100%)Add any block with classes (eg Container)Click that added block in the editor canvas.This results in an error: Uncaught DOMException: Failed...
maxtacco
This is probably related to https://github.com/artf/grapesjs/issues/896. I guess the logic should be adjusted to handle different types of units, i.e px, em, % etc.
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.
#1033April 12, 2018by nojacko3 answers
Steps to reproducehttps://jsfiddle.net/1cjjr02p/Click the text in editor, change background colour.Export CSS. You'll see both new and original colours exist in an order that prevents the new colour being used. ` 3.. Using same jsfilddle, it's not possible to remove CSS attribute. This is similar to #552 #986 but the...
nojacko
To elaborate a little, it seems to be when you apply styles to a box it adds the ID. When you export that and reload it to Grapes the problem happens.
artf
Related to #932 Use avoidInlineStyle: true
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.
#1032April 12, 2018by tommedema3 answers
Latest version of grapes #cfde1c1 If you supply a single @font-face, this is parsed just fine: JSFiddle example: https://jsfiddle.net/szLp8h4n/140/ Screenshot: <img width="1395" alt="screen shot 2018-04-11 at 3 19 56 pm" src="https://user-images.githubusercontent.com/331833/38646200-d5c4260e-3d9b-11e8-8c41-7c3c6b1f67d...
tommedema
@cjpollard thanks, but it seems like you are taking apart something that was stitched together for the wrong reason. I believe a better approach is to not stitch together these at-rules in the first place. @artf I have submitted a PR for t...
artf
Totally agree with you Tom, the main goal of cssComposer is just to provide a lean interface for style definitions. What we have inside CssParser right now it's actually a browser's parser and the rest of code is just a traverser. Actually...
tommedema
@artf FYI I can now reproduce this in a failing test case: After further debugging this seems to be caused by cssComposer thinking that the second rule is the same rule as the previous one and then returning the first rule: https://github....
#1022April 9, 2018by suthars2 answers
Hi, There is some bug related to "Drag and drop blocks are not working in IE Browser ", I didn't get better solution regarding this issue. Also there is no method to reinitialize the grapes editor. Here is my below script: grapesjs.init({ container: '#gjs', plugins: ['gjs-blocks-basic'], components: newscontent, stora...
artf
Fixed here #768 will be available in the next release
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.
#1020April 9, 2018by Blendman9742 answers
Using latest version with my ubuntu laptop. Node is installed, "npm start" is working but I can't manage to acces grapesjs from another computer, node server seems to be accepting only local connexion. Is there a way to fix this ? And is there a way I can change the port on wich it's running (8080) ?
artf
We're using webpack-dev-server as a development server therefore you can use any of its options, eg.
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.
#1006April 4, 2018by parth-raj3 answers
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...
KonradMil
https://opensource.org/licenses/BSD-3-Clause
parth-raj
Hi, i am using grapejs in sas app. Are there any restrictions regarding the usage of grapejs in sas app?
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.
#1005April 4, 2018by parth-raj1 answer
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.