usewaypoint / email-builder-js

A free and open-source block-based email template builder.
https://emailbuilderjs.com
MIT License
682 stars 283 forks source link

Drag and Drop feature #140

Open akaashvaa opened 1 week ago

akaashvaa commented 1 week ago

Hi usewaypoint team, I used your fantastic repo for a while and it's great. just created this issue for DND feature for blocks inside the canvas. if you are good with this let me know -- i will create a PR.

feature. blocks can be drag and drop inside the canvas

package name : editor-sample

soluion : by repositioning the block ids between the "EmailLayout", "Container" and "ColumnsConatiner'.

package used for the drag and drop : react dnd


Hi @charlesmudy – appreciate the kind words.

Sidebar blocks instead of inline (unlayer example)

Do you mind expanding on 'sidebar blocks' a bit more? I'm not too familiar with Unlayer.

Drag and Drop / repositioning for blocks

This is something we're considering adding in the future (we can't provide an estimate at this time). We have a version of this on our Pro builder but we're still considering how we want to approach this for our community builder.

Originally posted by @jordanisip in https://github.com/usewaypoint/email-builder-js/issues/74#issuecomment-2051772804

Incrementing-coder commented 1 week ago

@akaashvaa Can you please point me to you implementation. I'm trying to do the same.