#808January 26, 2018by austinbiggs3 answers
As mentioned in the title (which may be a bit confusing), I'm curious about how to create a space where component would drop. This is very common in implementations of dragging/sorting I've seen. (eg. https://shopify.github.io/draggable/ and jQuery Sortable) From what I understand of the drop placeholder (green bar in...
bogdansmadici
Hello @austinbiggs, any updates about this? Thank you!
artf
From what I understand of the drop placeholder (green bar in attachment), it's in a separate "Layer" and actually lives outside the canvas. I want to implement a better drop placeholder, I'm just not sure where to start when implementing t...
alimajed93
Hello @austinbiggs , I am interested in the feature you mentioned above, so any updates? Did you start and manage to do it? Thank you.
#807January 26, 2018by GoodPHP3 answers
I use "grapesjs-component-countdown" and when i chose date in calendar update information in the plugin. Example: https://monosnap.com/file/sSOQJ3M4hxVRQgj008Kl302GtXu1ah Use something like that: change: function() { console.log(editor.trigger('change:startfrom')); editor.DomComponents.render(); } Please help :)
GoodPHP
Not, it's doesn't work.
GoodPHP
Do you have any idea?
#806January 26, 2018by chiqui3d1 answer
Hello! As I say in the title the arrows to increase or decrease the rotation of any element in the canvas does not work. Nor does it work to modify the color in transitions. All this in the extra section of the block manager 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.
#805January 26, 2018by austinbiggs2 answers
I have a quick question in regards to events. From what I can tell load is the first event that triggers when initializing Grapes. Am I correct? I ask because I'm creating a loading animation for my installation of grapes and need the earliest event that fires during initialization. I've reviewed other events and wasn...
artf
Yeah, load is the event to use for this case
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.
#804January 26, 2018by sergeysova2 answers
Maybe move all grapejs repo to its own organisation like https://github.com/grapesjs ?
Moikapy
this would help future users find and contribute to the project.
artf
5 years late... but it's done 😅
#802January 25, 2018by goldengrisha3 answers
I try to create a video thumbnail, when I add it like a tag it's working fine but when this an array or an object, it doesn't render it.
austinbiggs
@goldengrisha - I had an unrelated issue w/ thumbnails, as the asset manager simply loads in the full file for the thumbnail. When adding an asset, I now pass a thumbnail parameter and display that instead.
goldengrisha
thank you for answer, but point is why this code work in proper way assetManager.add('<video src="http://localhost:2195/malls/78620a57-d32f-40a5-9b06-003c2338c377/SampleVideo1280x7201mb.mp4" class="gjs-no-pointer" style="height: 100%; widt...
artf
@goldengrisha first of all, your isType(value) is not correct If you pass a string in assetManager.add the value will be that string and just by returning it you say nothing about its type (isType should return a Boolean or { type: 'someth...
#800January 25, 2018by larshisken2 answers
Hi We're using postcss-cssnext plugin in our webpack project. Importing the grapes.min.css results in the following error:
ericscottmarquez
I also get this error trying to compile sass files with references to other files in a react app on rails using the webpager gem. Did you find a solution?
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.
#796January 25, 2018by kickbk3 answers
Go to any of the demo, select a text box, give it a background color. Clone it. Then try to drag in another text component and it doesn't let you.
artf
Thanks @kickbk now I get it. It was already fixed here #779 and will be available in the next release
artf
@kickbk I can't reproduce it, but I think I'm doing something wrong, can you provide a screencast/gif of the behavior? (or anyone who faces the same issue) Thanks
kickbk
Using Mac Chrome. Same on Safari and FF.
#795January 25, 2018by chiqui3d3 answers
Hello! I want without having to create a new block button, and stopping the event associated to the image that this run:open-assets get the area created by the editor in the canvas and add there the image that I got with my personalized modal image. I want to clarify that when I double-click on the image inside the ca...
artf
Pay attention to the current command Your command should be something like this
artf
Apologize @chiqui3d but try to elaborate better, because I didn't get a single statement of what you're asking
chiqui3d
Yes @artf , you're right, I just updated it, I hope it's understood now.
#794January 24, 2018by JulyanoF2 answers
I would like to know how can I create a custom "option" with custom content in this place:
artf
This is just a default Panel with 3 buttons where each button triggers its own command OpenStyleManager OpenTraitManager OpenBlocks <- being the last modified, use this as a starting point So if want to add a new button there you can use t...
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.