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