Has anyone created a template editor (e.g. users can create own invoice templates) in Wappler / Node.JS

Hi all,

Wondering if anyone has taken on the task of, and successfully created a template editor in Wappler.

For example, a feature that allows users to create the look / style of a template. The template is then stored, and the user can then generate data inside the template.

E.g. when you create an invoice with accounting software.

You can then download as docx or pdf.

If you have, I'd appreciate the opportunity to pick your brain a little.

Regarding generating data inside the template, this custom extension was promising, but it was never released:

I haven't done the create the template part but I have done something similar which allowed users to select pre-written content, or generate bills of quantities with contact details etc to word document templates which can then be exported to word and pdf.

I used https://www.phpdocx.com/ for the template/ document creation and it has a HTML doc to word/pdf function. In my scenario the users selects a list of pre-made word templates.

I was looking at my GitHub repo to see if so could pack what I had and dump it here in a zip for anyone to continue.

Unfortunately it seems I never pushed the code to remote so it never left local.

So the code is basically:

image

Thanks all, looks like i'll be forging ahead solo! seems fairly complex so fingers crossed.