usewaypoint/email-builder-js

feature request: copy paste or duplicate feature

Opened this issue · 6 comments

currently if i already made a nice looking block according to my needs, i need to redo the same steps again for the 2nd block.

copy paste or duplicate feature will make things faster, as i can simply copy paste or duplicate the block, and then modify it.

Good idea. This is something we support on our 'Pro' builder on Waypoint (see screenshot below) but haven't had the chance to port it over to EmailBuilder.js yet. I think this would be a good addition. Marking this as 'good first issue' in case others can help in the meantime.

CleanShot 2024-09-17 at 09 29 54@2x

Hi, I'd love to contribute to this feature! I’m planning to implement the duplication functionality. Could you confirm if I should add this to the editor sample package? Is that the correct one?

@Abhi-Bhat18 yes, that's correct. Thanks!

Hi, I'd love to contribute to this feature! I’m planning to implement the duplication functionality. Could you confirm if I should add this to the editor sample package? Is that the correct one?

Really looking forward to this feature, thank you!!

TuneMenu.txt

I tried using this and couldn't get it to work. Did you also make changes to tsconfig and add other packages? I've been able to write my own, but it doesn't duplicate nested content objects, like blocks within a column block.