mercury icon indicating copy to clipboard operation
mercury copied to clipboard

erb inside editing? (mailmerge like use case)

Open koenhandekyn opened this issue 12 years ago • 1 comments

hey,

have you thought about erb snippets inside the parts that are being edited? the context is similar to editing a mailmerge template in word. concretely in our use case the user would need to be able to insert a placeholder for a name, or an address. a bit more complex would be editing a conditional expression on a 'segment' and annotating a table with an iteration expresssion.

do other people share this need? would you be able to give a hint on how i could approach extending mercury to get there?

thanks for the reaction koen

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

koenhandekyn avatar Aug 23 '13 13:08 koenhandekyn

My initial reaction is that you can use snippets for this functionality. Or I should say in Mercury 1 that is the easiest way to accomplish your goal without creating a custom region.

gvarela avatar Dec 03 '13 15:12 gvarela