Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Carousel with Dante2 #217

Open
indigofa opened this issue Apr 13, 2020 · 3 comments
Open

Carousel with Dante2 #217

indigofa opened this issue Apr 13, 2020 · 3 comments

Comments

@indigofa
Copy link

Hi Guys,

I have one quick question from your experience, do you think with Draftjs/Dante2 is possible to create carousel inside content, the output HTML should be for example.

<div class="carousel">
     <img src="" />
     <img src="" />
     <img src="" />
</div>

Can you provide example.

Thank you,
F

@michelson
Copy link
Owner

Hi , it's possible to do , since the blocks are react components.
I would use the image block as an starting point and add a images state (array) in which you could handle multiple images on it

I don't have time right now to provide an example, sorry

@michelson
Copy link
Owner

sorry, I've close this by mistake, use this issue if you want to discuss your progress on it

@michelson michelson reopened this Apr 13, 2020
@garmjs
Copy link

garmjs commented Apr 14, 2020

I needed this as well, I will work on this weekend and see if I can make it work, will seek for help here if needed thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants