GrapesJS Issues

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

3464 issues found

#1277July 11, 2018by AnkitKachhadiya3 answers
4 reactions

Set href for link block

I want to set href for link block as there is empty href by default.

maryia-kabash

@AnkitKachhadiya you can change it by going to "Component settings" tab (gear icon). The same is for link block.

artf

@AnkitKachhadiya you can also update dynamically the default one

AnkitKachhadiya

Thank you for the help Can you please re-open these issue @maryia-kabash @artf I have made a custom block for my custom link see code:editor.BlockManager.add("unsubscribe-block", { label: "Unsubscribe", content: { type: "link", content: "u...

#1275July 11, 2018by dsgh1 answer
0 reactions

[Bug] Undefined variable: comp

When using non hoverable components, I'm getting this error. PR incoming.

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.

#1274July 11, 2018by jvillena3 answers
1 reactions

Remote storage option is not sending in $_POST the JSON structure

Hi @artf! I'm working to adapt your content builder in our system using the latest release v.0.14.21. I have set up the following configuration of the StorageManager: storageManager: { type: 'remote', stepsBeforeSave: 1, autoload: true, autosave: false, urlStore: '/save', urlLoad: '/load', contentTypeJson: true }, Wit...

jvillena

Thanks a lot! It works like a charm! Great Job. We are going to work in different new plugins so we will include them as open source as well. I'll keep you inform.

artf

We're using fetch under the hood so check this out https://stackoverflow.com/questions/36669911/post-not-retrieving-data-from-javascripts-fetch and let me know

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.

#1273July 11, 2018by johnknoop2 answers
0 reactions

Feature request: Asset manager more suitable for large amount of images

The asset manager window is kinda tiny. If you're selecting from thousands of product images, the user experience becomes quite limited. It would be great if you could increase the size of the window, and also support basic filtering of images using a textbox.

artf

For the size of the window, I think it's just a matter of adding some CSS. For the basic filtering, it's a bit different, you can do it by yourself actually (create the element, on change filter rendered assets and, for example, append the...

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.

#1272July 10, 2018by Moikapy2 answers
0 reactions

[QUESTION] Using setComponent() ??

Creating a Plugin to use GrapesJS with Plone. GrapesJS Version: Latest When using the setComponent() function, we are scraping the HTML content from one page and setting it as the content for GrapesJS to edit/manipulate. The Component is then dropped into the Canvas along with the data-gjs- attributes are applied and...

artf

https://github.com/artf/grapesjs/issues/1074#issuecomment-405020535

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.

#1269July 10, 2018by ionic6662 answers
0 reactions

Can I export my own CSS file

hi,I wrote some CSS to modify the table style。Because it's an external stylesheet,When i export, i don't get it

artf

Because it's an external stylesheet,When i export, i don't get it This is how external stylesheets work

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.

#1268July 9, 2018by kuldeepcis2 answers
0 reactions

Add pre define style on hover

We wants to add pre define style on hover of the button .We know we need to define the state attribute for the block but don't know how to write it can you please provide a example.

artf

Just add the style inside the block

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.

#1267July 9, 2018by zimnerd1 answer
0 reactions

How to save javascript rendered elements as HTML only

Good day I am struggling to save content appended using javscript as HTML, Instead it saves the script that does the appending. Is there a way to get the rendered HTML? Thanks WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/...

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.

#1266July 9, 2018by kuldeepcis2 answers
0 reactions

Could not load updates images in the assetmanager

We are saving the components to the MySQL database .So when we load the components we don't get updated value for example in asset manager the images present in it are 4 and we add one image and save it then whenever we edit the image we see only those 4 images even we have uploaded many images after that to asset man...

artf

Assets have nothing to do with components, you have to store them too. https://github.com/artf/grapesjs/wiki/Assets

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.

#1265July 7, 2018by RiyasRouf2 answers
0 reactions

how to use php functions inside of editor iframe ???

Hi @artf, currently i am working on php,wordpress and grapesjs.What I wanted here is.., how can I add the php functions inside the iframe of the editor??? this is for getting the things same as that of wordpress used..! and is that possible, if i add something(wordpress styles) outside of the editor and that affects i...

artf

Hi @roufriyas you can use PHP to render templates dynamically but it doesn't make sense use PHP functions inside the iframe (probably only as a variable placeholder). I'd recommend asking such a question in some WP related forum

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.