GrapesJS Issues

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

1,399 issues found

πŸ” outdated
#1206Jun 14, 2018by Krishnaasa2 answers
0 reactions

Issue : Adding scripts inside nested content showing different behavior when compared with a single content ta

Hi , We are actually trying to add a own JS script that can read a file and preview the same on the html. But in doing so by adding a BlockManager we are noticing a different behavior where we are not able to perform actions like remove/copy nor are we able to edit the inner elements. The content inside the content is...

artf

Check your code, it's completly messed up, you're mixing component related stuff inside blocks and then you put everything inside style(???)

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.

#1205Jun 14, 2018by ionic6662 answers
0 reactions

Create block for charts

hi,First of all, I wish you a happy life.i have created a block for charts like: I don't know how to get chart from my block.Global variables are not available. And i also want to modify configuration items for charts

artf

I don't know how to get chart from my block. Global variables are not available. I don't understand what do you want to doAnd i also want to modify configuration items for charts You can use changeProp to get the property value of your com...

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.

#1204Jun 14, 2018by afaraha84033 answers
0 reactions

Unknown Error $jscomp is not defined on uploadFile

I am facing a weird error that I am unable to properly trace. It happens when i drag and drop an image for upload. When I click on the line "at fetchFile (grapes.js:17107)" I see this function Please note that I have modified the uploadFile with the below code that I have adapted from the original source Your help is...

afaraha8403

Hello anyone here. I hate to see all my hours of work in this go to waste. All opinions welcome!

artf

When I click on the line "at fetchFile (grapes.js:17107)" I see this function Which is just a step before you real issue... click on uploadFile step and you will find the issue

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.

#1203Jun 14, 2018by jonaaix2 answers
0 reactions

FEATURE REQUEST: Export as single HTML5 document

It would be really nice to have an option to export as a single HTML5 document, including html/head/body, and embedded css between <head><style>{{css}}</style></head>

artf

Look how the original ExportTemplate is done, then add your own export command

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.

#1202Jun 14, 2018by milapshah153 answers
0 reactions

Classes mismatch while using web preset plugin

Hello Everyone, I am using website preset plugin however, when I drag column from grapes Demo page the styling is different and in my application the styling is different as follows.Am I missing anything? GrapesUI{ box-sizing: border-box; } body { margin: 0; } body{ background-image:url(none); background-repeat:repeat...

milapshah15

@artf Please help if I am missing anything

milapshah15

f = s ? "\n ." + u + " {\n display: flex;\n justify-content: flex-start;\n align-items: stretch;\n flex-wrap: nowrap;\n padding: 10px;\n }\n @media (max-width: 768px) {\n ." + u + " {\n flex-wrap: wrap;\n }\n }" : "\n ." + u + " {\n displa...

milapshah15

Issue fixed. flexGrid : true in the options for basic plugin fixed the issue Warm regards Milap

#1200Jun 13, 2018by ivanezeigbo3 answers
1 reactions

Modify grapes.min.js to allow video types on AssetManager

Please, I would like to modify my grapes.min.js because I would like to add the video type to my assetManager. For some reason, the am.addType() messes up my page and does not work as well. I am not sure why, but I am curious about where to make the changes on my grapes.min.js to include video types. Please help.

WkRPcoN

This is how I was able to trigger the asset manager on dbl click. See the events property below.

artf

I think it will be much easier to understand what is wrong with am.addType. Please provide a live demo of your case. ps. As you've created an issue I removed your comment in #802 because the content is the same but left like this it was ju...

ivanezeigbo

@artf Never mind. I found out I was just mixing up the versions used. Thank you! I actually used another way around. I added activeOnRender:1 to video and removed the default src in the blocks-basic.js. This allowed me to choose my own src...

#1199Jun 13, 2018by algodata443 answers
2 reactions

Can we remove links?

I tried to add a button to remove links but i couldn't find a way. I can add them in a text with the RTE button and edit them by double-clicking, (with the help of https://github.com/artf/grapesjs/issues/610). but I would like to know if i can have a button that remove the link without removing the text inside.

cjpollard

If you use the CKEditor plugin, that button's there.

artf

@algodata44 for the built-in RTE you need to implement a new action for that

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.

#1198Jun 13, 2018by krunal0392 answers
0 reactions

QUESTIONS : Find element in Model

I have custom component and it render below html, I want to update value of h4 tilte and other element on trait changed, but not sure how can I find h4 and other element in model (NOT in view) and change value via trait change. I have used below approach but does not want to access model via index. updateTitle : funct...

artf

https://github.com/artf/grapesjs/issues/1157#issuecomment-397104559

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.

#1197Jun 13, 2018by frantischek2 answers
0 reactions

Asset upload with Laravel 5.5

Hi, I'm using grapesjs - 0.14.15 on my server. Trying to upload images in two different ways: and with: In my PHP file I only want to return the files array using: But it's allways empty. Please help - thank you. Regards Frantischek

artf

https://laravel.com/docs/5.6/filesystem#file-uploads

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