voidlabs / mosaico

Mosaico - Responsive Email Template Editor
https://mosaico.io
GNU General Public License v3.0
1.7k stars 501 forks source link

How can we Inverse loadDefaultBlocks? I want to add a button that can clear the canvas when we click it. #462

Closed sibbu2005 closed 6 years ago

sibbu2005 commented 6 years ago

How can I create a functionality to clear the canvas . Actully I want to make a button CLEAR , which can remove all the blocks from template. We can undo, but it works for one by one.