How to add a new div using repeat based on selection?
On pressing add block , I want a new div to be created to display the next new block . How do i do that ? Can you also please help me with how I can show a visualisation of this link /text /photo in the right side canvas in that particular order ? Image 1 : addBlocks variable which is an array that is doing a repeat on the div Image 2 : the click event on selecting the different blocks and calling addBlocks here . The flow : view current blocks > add block cta > add new block in next div > view these blocks on right side visualisation



.jpeg/public)