Hi,
I'm trying to use the Editor to give my users the ability to write a custom message template for an application, that will send notification upon certain events.
To give the users the ability to customize the notification-message, I'd like to have replaceable codes in the editor. Something like {User}, that will be replaced in the actual message with the current users name. The Editors Content is saved with these Codes and my application replaces the tags, when the message is sent.
Is it possible to change the Preview-Mode of the Editor, so I can replace this codes with data, so the user sees how the message will look like?
To summarize: Is it possible to change the content shown in the preview mode?
Thanks for your help.