I’m building a custom template (kinda lika Canva) where the user can input text and it generates a PDF with the chose style. I would like to show the user the template and I therefore have a HTML code element as you can see on the screen.
- I’m having a really hard time with figuring out how to make the text dynamic in a simple way. I can’t seem to insert variables in an easy way.
- I would like to allow the user to add and remove items, so my thinking was to have an object with the html which I can then append new objects too which would basically be new items (so array of html items). This seemed to cause a lot of issues in the editor.
Any ideas - I’m pretty stuck on this.