I would like to insert "meta data" tags into a rich text editor (ideally TinyMCE). The call to action button to insert a tag would be similar to the other TinyMCE buttons, but would popup a dialog which would list the various available tag names that the user could select. If the meta data tag name was "firstname", when viewed in the editor, the meta data tag would be displayed as "firstname" with a solid background and a box around it (pretty normal CSS stuff). The resultant HTML, however, would not include the background/boarders, but just put curly brackets around the tag name such as {firstname}.

Can this be fairly easily accomplished? If so, please point me in the right direction. Thank you