GrapesJS Issues

3,464 parsed GitHub issues โ€” 370 solved ยท 90 open. Search, filter and explore battle-tested answers.

829 issues found

๐Ÿ” question
#1016April 8, 2018by johndc72 answers
0 reactions

[Question] Button staying pressed after running command

Is there any way to keep a button from staying pressed after the command completes? Been looking through the documentation and didn't see anything regarding this

artf

The button instance is passed as a second argument if the command is executed from a button, so you can disable it in this way

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.

#1015April 7, 2018by andresmgsl3 answers
0 reactions

[Question] Where are the built in properties defined?

Hey artf, really nice tool. I'm customizing it and i need to do some adjustment. Thanks

artf

Hi Andres, if you're talking about Component's properties you will find them here

andresmgsl

Thank you for your answer, I did not refer to those but to these, but I could already notice that they are native CSS properties. I have another doubt but I will open a new problem to touch it in detail.

artf

Ah ok, those are created from this factory object

#1014April 7, 2018by tommedema3 answers
1 reactions

[Question] making preview mode remember if visibility mode should be restored or not

Currently when you enable preview mode and then disable it again, it always turns on visibility mode, even if visibility mode was turned off. This can be rather annoying. I would like to create a PR to fix this, but could use your advice because I'm not completely following how you would do this properly in the way yo...

artf

I really like the idea, what about keeping track of all commands status at Commands level?!? Like for example, on any runCommand(CMDID) we gonna store it inside Commands.active object (eg. active[CMDID] = 1) and clear on stopCommand. Then...

tommedema

@artf I can probably do it if I can ask some questions here along the way. I'm still getting used to Backbone. Where would you put that Commands object? Could you elaborate more on this?I'd like also to move the runCommand/stopCommand logi...

artf

For Commands I mean the Commands moduleCould you elaborate more on this? I'd like, for example, moving this Editor. runCommand logic inside the Commands module, so in the Editor we will get:

#1011April 6, 2018by pg16712 answers
0 reactions

[Question] Does grapejs provide variable selection in the UI

I have just come across grapejs and it looks amazing but I cannot find good information on how to manage variables. Is there are a way to give grapejs a list of allowed variables so the user can insert them easily through the UI when creating a template (editing text) or do they have to just type in the variable synta...

artf

There is no such a built-in feature but you can easily extend grapesjs for it. If you're looking for the usage of variables during the text editing this snippet might help you. You can also make use of Blocks to create draggable variables,...

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.

#1009April 5, 2018by krunal0393 answers
0 reactions

[Question] Richtext editor for trait

Is there way to have richtext box for trait. We want to user to insert rich text for trait and not sure how can we do it. We have below use case. There would be mutliple picture on page and once user mouse hover it will display some rich text and we want create component so admin can easily create page with above feat...

Piterden

But traits actually, are attributes of an element. For what purpose you need to use RTE there.

krunal039

We need user to add rich text with image and rich text is only visible when image mouse hover and user can drag and drop multiple image with rich text. On 6 April 2018 at 05:32, Denis Efremov <[email protected]> wrote: But traits ac...

Piterden

You don't need a RTE-trait. Why user can't use RTE in inline mode?

#1006April 4, 2018by parth-raj3 answers
1 reactions

Using grapejs in sas app.

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

KonradMil

https://opensource.org/licenses/BSD-3-Clause

parth-raj

Hi, i am using grapejs in sas app. Are there any restrictions regarding the usage of grapejs in sas app?

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.

#1005April 4, 2018by parth-raj1 answer
0 reactions

Using grapejs in sas app.

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

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.

#1003April 4, 2018by Siddharth-ss422793 answers
0 reactions

[Question/ bug]"Uncaught TypeError: t.get is not a function" on adding select-comp

on adding button "select" component { id : 'select', className : 'fa fa-mouse-pointer', command : 'select-comp', }, in button's panels getting error on button clickgrapes.min.js:2 Uncaught TypeError: t.get is not a function \n at R.i.run (grapes.min.js:2) at R.i.updateActive (grapes.min.js:11) at y (grapes.min.js:2) a...

Piterden

Maybe you share your run config for test?

Siddharth-ss42279

solved, it was related to the fonts loading.

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.

#1001April 3, 2018by sublimekaushik3 answers
0 reactions

[Question] listener is not working when using within loop

If I am writing listener out of loop like below it is working let ii = 'Icon Image'; let test = change:${ii}; this.listenTo(this, test, this.doStuff); but If I am writing same listener within a loop then it is not working How to get rid of it? help please

artf

fix your loop...

anilbuddha

@artf we are just using a normal 'for' loop, what should we fix in that. Could you please elaborate us to resolve the issue. Thanks

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.

#1000April 3, 2018by sublimekaushik3 answers
1 reactions

[Question/Bug] how to show plain text as trait

I want to show plain text within the trait under the setting button. In the above image 'Configuration_Type' I want to show as plain text. How can I achieve this?

Piterden

Try to And then use CSS to hide what you don't need.

sublimekaushik

Thanks. It worked.

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.