GrapesJS Issues

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

212 issues found

#2181August 4, 2019by pouyamiralayi3 answers
2 reactions

global functions/variables

Hello there! recently i noticed this issue. I think it would be beneficial to have this feature. in contrast to the suggested approach by @artf that uses canvas scripts as a way to inject globally, i think this is not functional for the main purpose that this feature is intended for. in my opinion the main use case fo...

artf

Sorry @pouyamiralayi but I believe you didn't get the total meaning of script property in Component (obviously you're not the only one, even if I try to explain this "script paradox" here) What is asked in #1691 it just DOESN'T MAKE SENSE...

pouyamiralayi

thanks for your kind answer @artf . after struggling with the idea i am reaching to the point that what you are saying is totally reasonable. that was very naive of me to bringing this matter up again sorry for that. the current workaround...

collindutter

@pouyamiralayi would you mind providing some more information on how you created a global event bus to send messages between global scripts and local ones? The editor embeds the grapesjs content in an iframe, so you can't use a global wind...

#2175July 31, 2019by yanosuke2 answers
0 reactions

[Feature Request]: Canvas Touch Support iOS

My customers also require the ability to use the GrapesJS platform on their mobiles, therefore I am currently using the GrapesJS-Touch plugin. The issue, however, is not with the plugin, but rather about a missing method within the GrapesJS code. The issue and solution are provided by Mikereem at the following link: [...

artf

I'd be happy to merge a PR

saltyfoam

We're making use of GrapesJS and would love to have greater support on mobile so I hope this goes through!

#2171July 28, 2019by talya-akshotaNo answers
0 reactions

how and if possible to create chart block in grapesjs?

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...

#2168July 25, 2019by jadejahardipsinh3 answers
0 reactions

Custom html DOM changes does reflected when saving changes to database

I created new toolbar option called text-align using following code In order to make above code work, I added following function into grapes.js file : Due to above code, my changes working in the editor in UI refer: I am getting html of editor using following code : Now, the issue is, in the HTML got using above comma...

artf

Be sure to use the latest version and try to call sync:content on selected component before calling the desired command, eg.

jadejahardipsinh

@artf, Thanks for the answer. I tried with that but unfortunately not working. I am getting that using following code: I already did this but nothing happens. Please correct me if something wrong. Again, highly appreciate your help on this.

artf

@jadejahardipsinh grapesjs version?

#2142July 16, 2019by khbhr3 answers
0 reactions

Drag component with its parent

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...

khbhr

Hi artf, I would like to start by thanking you for the great work you've done. Second, I would like to know if there is a possible way to move a component with its parent(s) when dragging it from a cell to another? The reason why I am aski...

artf

Well if you need to move the entire parent it doesn't make sense to let the user moving that component, so just make it draggable: false <table> <tbody> <tr> <td> <a data-gjs-type="link" data-gjs-draggable="false" href="https://google.com/...

Deus-X

I need to revisit this old topic. I now have the same requirement. Which in my opinion is valid. @artf If I set the component to draggable: false, I simply cannot move the component, which is not a solution. The user then does not know tha...

#2140July 16, 2019by khbhrNo answers
0 reactions

Drag component with its parent

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...

#2139July 16, 2019by bidishad1 answer
0 reactions

Is it possible to move components within a Block?

Do grapeJS provide support moving component within a block.If yes, please redirect to some material? Moreover I want to restrict the component from moving outside the block? Is it possible to do so? I see GrapeJS do provide drag and drop feature. Can you point me where I can start that too?

artf

Start by checking all the properties available on Component instance, especially (for your case) draggable and droppable

#2138July 15, 2019by alikabeer323 answers
1 reactions

[BUG] Gradient plugin is interfering with background-image

The background-image url is getting wrapper around by linear-gradient() function like so Even though I assigned gradient to 'background' property instead of 'background-image' I can't reproduce the bug in the demo of either grapesjs or the plugin because in neither of them have the two features (background image and g...

artf

Can someone check if the latest release fixes the issue, please?

alikabeer32

UPDATE: I know it's a very hacky fix but what I did is replace every 'backgroundImage' with just 'background' in the grapesjs-style-gradient.min.js file of the plugin. And now it works like I need it to. Perhaps someone could provide a bet...

robsonsobral

Wow! I'm not the only one going crazy! @artf , do you have any suggestion? Where should a pull request be submited?

#2113July 3, 2019by shvhhNo answers
0 reactions

FEATURE REQUEST for custom propert

there should be a feature to switch toolbar from right to leftI can't find any option to add a property like action in case of a form, name in case of a form element & on click action(if possible)

#2088June 19, 2019by revathitarento2 answers
1 reactions

[QUESTIONS] Can I build quiz and polling questions in grapeJS

I really like the features of grapeJS, it would be very helpful to know if I will be able to extend it with creating questions and answers, polling, Multiple choice questions and answers, Please guide me how to start with. It would be a great help

afdallah

I suggest you start with this https://github.com/artf/grapesjs-preset-webpage. And start building components from there

verdverm

So one significant factor is the requirement for third party scripts, is this the case in your situation?