The requirement is to allow the user of the website to create dynamic documents with placeholders. The placeholders can contain any item from a defined list.
Example:
Hello {name}, I'm contacting you to let you know that the new version {version} of {software} is now available on {website}.
I just made this up, but it illustrates the point. A possible solution is to have a simple text box and a button 'insert placeholder'. If user clicks on a placeholder {whatever}, a dialog pops up that lets the user modify the placeholder (from a list) or remove it. The 'insert placeholder' button would let the user to insert a new placeholder where the cursor is placed.
I'm wondering what is a better way to handle this.