GrapesJS Issues

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

3464 issues found

#1583November 15, 2018by sambarnes902 answers
1 reactions

[Question] Amending urlStore and urlLoad dynamically.

Hi Everyone I'm loving Grapesjs so far - thanks for all your work on it. I'm in the process of trying to set up storage for whole page templates which will be written to a MongoDB via mongoose.GrapesJS Version: 0.14.40OS: Ubuntu 17.10 Looking at the HTTP responses I seem to be able to store and receive them ok. My Exp...

sambarnes90

Ok here's what I missed for future reference. The way I've set the 'new' store URL is incorrect here: That's not actually setting the variable correctly. I needed to use the .get() method on StorageManager to get the storage I was working...

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.

#1582November 14, 2018by Chilli-B1 answer
0 reactions

[Bug] Trait - Change video provider issue not solved with new release

Hello, in reference to the following threat, the problem has not been solved with the new and latest release 0.14.41: https://github.com/artf/grapesjs/issues/1563 Thanks for clarifying :)

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.

#1581November 14, 2018by FjStudioDev2 answers
0 reactions

[Question] AssetManager not shown uploaded images

Hi all, I'm using grapesjs - 0.14.33. I have successfull implemented StorageManager in remote mode, I can load and store data. I have successfull implemented AssetManager, I can load/upload image. I'm not able to understand why asset correctly upload are not shown in asset pop up window (select image) I have read docs...

FjStudioDev

Found workaround follow this #372

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.

#1580November 14, 2018by maxeckel2 answers
0 reactions

[Question] Add Custom Button to RTE

Hello all, i'm currently trying to move away from ckeditor (used in an legacy app to create emails and microsites). This works very well actually, but i have the need to insert Placeholders/Tags/Merge Fields however you want to call them, into the text (like [[salutation]] [[firstname]] etc.). So at first i looked at...

maxeckel

Nevermind 🤦‍♂️ I found the issue, i thought my local dev env would be using the grapesjs version (14.40) installed via npm, but it was loading an older (10.7) version from unpkg... that's what caused the problem. I hope this will atleast...

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.

#1579November 14, 2018by YashPrince3 answers
0 reactions

Border Color Issue

@artf There is bug in the border color if you drag a button on the editor and paste color like rgb(255, 0, 0) in border color and select any other element in side the editor without changing any property and reselet the button then border color become rgb(255, and if we changes in any property of border then css break...

loganvolkers

I can reproduce this on the demo website Copy and pasting can trigger this error, but it looks like it has nothing to do with copy and paste and everything to do with whitespace. Values that work:rgb(255,0,0)rgb(255,0,0) Values that don't...

artf

everything to do with whitespace Correct, it's just a poor parsing on composed types. We should split the value (eg. 1px solid rgba(255, 0, 0, 0)) by spaces (or even better propertyModel.get('separator'), which exists already) but taking c...

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.

#1578November 14, 2018by mathiasbc3 answers
3 reactions

[Question] Custom request on "src" attributes

I implemented a small GrapesJS editor that allows to edit Django/Jinja2 templates. GrapesJS by default is trying to GET the image preview of my element: <a href="{{producturl}}" target="blank"><img src="{{imageurl}}" width="130"/></a> The request happens everytime I load the template into the GrapesJS editor: http://l...

artf

Hi @mathiasbc by using the latest https://github.com/artf/grapesjs/releases/tag/v0.14.43 It should work with something like this

artf

Hi Mathias, currently the only possibility I see now is to extend the image component and its render() method. Probably I'll add some new component event to make such a case easier to manage

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.

#1577November 14, 2018by emilsedgh3 answers
1 reactions

Inline CSS Comments break Code Manager

Apparently this is valid piece of html and css: <div style="color: red; / height 200px; /; font-weight: bold;"> (Hence the commented out height property) Grapesjs has trouble dealing with such attribute as the style attribute on the model is stored as this: The big problem is that CssGenerator's buildFromObject consid...

emilsedgh

Alright I finally managed to reproduce this again. Reopening with better fiddle. The code inside gjs is The CSS retrieved by editor.getCss() is: The bug is that the /* color:#ffffff; doesn't have the closing comment tag. Therefore, it'd re...

artf

Hi Emil, I tried this https://jsfiddle.net/37n5691f/ but can't see 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...

#1576November 13, 2018by crypto-dump3 answers
1 reactions

Select element that has several blocks as one unit.

I've created new block (like form or dialog, etc) that has several blocks such as search box, button, text fields, ... This element doesn't need to editable. I just want to select this whole block as one unit. Thanks.

artf

You might want to use propagate to inject indicated properties from component to its children

crypto-dump

Thanks. That's just what I want to do.

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.

#1575November 13, 2018by nojacko1 answer
0 reactions

[BUG] Wrong model passed with "component:styleUpdate" events

The model in "component:styleUpdate" event is different to the model in the event "component:selected". I'd expect them to be the same when I click a component and then change it's styles.https://jsfiddle.net/szLp8h4n/355/Have console open.Select "hello world" text Note the console outputChange the fontNote the consol...

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.

#1574November 13, 2018by ThomasLaigneau2 answers
0 reactions

Question, Block content from file

Hi, this is not really an issue but more a question. I'm currently using custom blocks in my GrapesJS editor. This is how I create them : It works fine but for file optimization is it possible to load the content of the block like this : Can't achieve this.. Thanks for answers !

artf

No @ThomasLaigneau you have to manage that by yourself, 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.