GrapesJS Issues

3,464 parsed GitHub issues β€” 370 solved Β· 90 open. Search, filter and explore battle-tested answers.

1,399 issues found

πŸ” outdated
#1582Nov 14, 2018by Chilli-B1 answer
0 reactions

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.

#1581Nov 14, 2018by FjStudioDev2 answers
0 reactions

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.

#1580Nov 14, 2018by maxeckel2 answers
0 reactions

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.

#1579Nov 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.

#1578Nov 14, 2018by mathiasbc3 answers
3 reactions

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.

#1576Nov 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.

#1575Nov 13, 2018by nojacko1 answer
0 reactions

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.

#1574Nov 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.

#1573Nov 12, 2018by crypto-dump3 answers
1 reactions

Open modal after drop element

How to show custom modal dialog when drop element on editor? like asset modal dialog appears when drop image block to the editor.

mcsekar12

Please check the docs https://grapesjs.com/docs/api/modal_dialog.html#modal use Modal.setContent();

mcsekar12

Use Editor events https://grapesjs.com/docs/api/editor.html#available-events editor.on('component:add', (model, argument) => { //filter using component name if (model.getName() === 'modelName') { //show modal } //filter using css Class if...

crypto-dump

Thanks. I'm new to this plugin. How to create my own modal dialog that has checkbox or select options or etc ?

#1572Nov 10, 2018by crypto-dump2 answers
0 reactions

Issue when adding video block manually

I added Video Block manually like this. <pre> blockManager.add('video', { label: 'Video', category: 'Media', attributes: {class: 'fa fa-youtube-play'}, content: { type: 'video', classes: ['website-media', 'website-video'], //traits: ['data-panoramic'], resizable: 0, draggable: '.website-cell, .website-block, .video-co...

artf

The style you see on <video> is only applied in canvas, your styles are applied to the wrapper and you should see them correctly applied in the export code

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.

Browse all topics