I have a html template. the html template has a button. when you click on the button, an event occurs (opening a modal window). Is it possible to visually change the appearance of a button without firing an event? With allowScript: 0, I can edit the appearance of the button, but in this case, the event does not fire (...
artf
You have to create a custom component for that button if it requires custom logic/behavior from what the original HTML does
GJSBlock
Thanks for reporting this, @sashapawlow726. Great suggestion about FEAT: how to edit a button if the button has an action (opening a modal window)?! While this specific feature isn't yet in the core API, there are several ways to achieve s...
By default, when a component is selected, the toolbar is displayed with 'move, copy, delete' etc actions, it is set with ' showToolbar: 1' option. When I define a custom component which may have several inner components, I want to hide the toolbar for those inner components. I don't want to hide it globally in grapesj...
artf
When you define the component, you can customize the toolbar array
GJSBlock
Thanks for reporting this, @sprklinginfo. Thanks for sharing your report about Hide toolbar for inner components. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbox/JSFiddle) Your...
@artf this is the same issue #2760 that has already been addressed before, is this wrong or am i doing? i expected assets not to be shown but they are all visible this is my code and I am using version of "grapesjs": "^0.16.27",
artf
@awais786327 provide a live demo of the issue, please
no-response[bot]
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...
GJSBlock
Thanks for reporting this, @mohd7469. Great question about AssetManager rendering issue. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for...
I really apologise if this has been covered previously. I have searched the issues and also read the documentation quite extensively and maybe I am not just understanding it correctly. I understand you can do run a script in the page builder to load the content however that content/html will be saved once I click save...
artf
I think you have to read this guide
anuragk15
Did you find the solution? I have a similar issue. For example, when I write blog and store them in my database. Now whenever someone visits my landing page(made with Grapesjs) I want them to see my latest blog there. Also, if some end-use...
GJSBlock
Thanks for reporting this, @webdevhayes. Great question about Loading dynamic content. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for th...
Please could anyone guide me on how to run the basic example given in the GrapesJS website using React.. PLEASE HELP
GJSBlock
Thanks for reporting this, @BaskarMN. Great question about Getting started example in React application. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific...
Version: 0.16.27 Summary: Trait with [type ="number"] not working Steps to reproduce: Try to type something such as "abc" for a trait which type is "number" Expected: Don't accept the string Actual: Still accepts the string
GJSBlock
Thanks for reporting this, @tranthanhhoa. Thanks for sharing your report about Trait with [type ="number"] not working. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbox/JSFiddle)...
on click to upload button side preview works fine but when clicking on that video preview it throws error and rest of all images stop working, I need to show video in canvas body like images are shown this is what I am doing Here you see live
mohd7469
@artf can you tell me please how can I upload and preview video files rather then images?
ZeroCoolHacker
@awais786327 I am also struggling with uploading different assets. Maybe this can help. https://grapesjs.com/docs/modules/Assets.html#uploading-assets
ZeroCoolHacker
@awais786327 I have looked at the site and it looks like that you need to add autoplay="true" in your video tag to make it play
Hi, i am trying to use video component to upload in the assets manager. And I realize I can leverage editor event component:selected to do so. it works but not perfect. I prefer to use double click to trigger assets manager to open. If we can have an event like component:clicked/dbclicked, it would be better
artf
You can extend the Video component and in its view add the same event like the one in the Image
addlistener
@archerbj have you made it work? I tried and it seems ComponentView is only type exported? <img width="883" alt="image" src="https://github.com/GrapesJS/grapesjs/assets/4531670/e075cf79-4e93-411a-ba35-63dd2fd0ad51">
GJSBlock
Thanks for reporting this, @archerbj. Thanks for sharing your report about FEAT: component:clicked / dbclicked event. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbox/JSFiddle) Y...
Version: 0.16.27 Summary: Missing media style on the duplicated component Steps to reproduce: Try to change something on Tablet or Mobile Duplicate the changed component Expected: The duplicated component has media style Actual: The duplicate component hasn't media style
artf
Thanks @tranthanhhoa I've actually fixed it already on your other issue, that one was related to the state of rules but I've noticed the same with media, so both are ready for the next release :)
GJSBlock
Thanks for reporting this, @tranthanhhoa. Thanks for sharing your report about Missing media style on the duplicated component. To help the team investigate and prioritize this: Please provide: A minimal reproducible example (CodeSandbox/J...
I want both devices and menu buttons on the same panel but the issue is with View code button If i remove panel.render() Devices button get disappear If i do not remove panel.render() View Code doesn't work what am I doing wrong?
artf
Check the Panel API, you're using them totally wrong...
GJSBlock
Thanks for reporting this, @mohd7469. Great question about Issue with View code button. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for t...