Is it possible to create document templates on Bubble? As observed by @zelus_pudding, the new Rich Text Editor theoretically can do this because is based on Quill.
There is any way to create document templates on Bubble without the Text Editor?
This would open a lot of possibilities: Invoice/Receipt generation, Email templates, Invitations and more that an end user can customize. It would enable the creation of applications like [Hubspot]].
I have done this before using tags like $firstName$ $lastName$ and then when sending the email you can do a find and replace for the actual information. It does work. I can imagine you can make it more user friendly by adding colors or using a plugin too. Might be worth looking at some tag plugins to see what they can do. Like this maybe? Tagger Plugin | Bubble
If Bubble can open the Rich Text Editor to do this, it would be really helpful. Maybe add it to the idea board.
Yes, it’s totally possible. It can work with the Rich Text Editor (RTE) with no plugins required; and it can be done in pure native Bubble. The contents of any input (including a RTE) can be saved to the DB. And as @J805 points out, it’s just a simple find and replace operation. You define the token, so you just search for it and replace it with whatever text you want.
My Dynamic Data Merge example (thanks for the mention, @boston85719) takes this to the next level by updating the merged result in real time with content pulled from the DB. A plug-in IS used to enable link clicks to display a popup without reloading the page, but that’s it. Actually saving the new text (or selected option) is again handled in pure Bubble by simply looping through the tokens and replacing them. (Yes, it’s possible to loop/iterate over a list of things using pure Bubble despite what you might read elsewhere on the forum.) This allows the user to replace content directly in the merged result.
This functionality was originally developed as a proof-of-concept for a copywriting app, but it has potential uses well beyond that. If I get a chance, I’ll share the technique I used.