Rich Text Editor for Vaadin with custom Rich Text Elements

411 Views Asked by At

I have a template document where elements in the document will need to be substituted by the application later in the process. I want to use a Rich Text Editor for the user to type the template text they wish to use. For example, the text might look like this.

"This is a notification to USERNAME that you have received mail. An email was sent to USER-EMAIL. Contact ADMIN-NAME at ADMIN-EMAIL if assistance is needed".

This is a crude example. For anyone using the interface, USERNAME, USER-EMAIL, ADMIN-NAME, ADMIN-EMAIL would be custom buttons in the Rich Text Editor that the user could click on to add to the Rich Text Area as they type. The raw text in the Rich Text Area could be retrieved and parsed to replace the Rich Text Elements with the intended value later in the application.

Is there a way with a Vaadin component or any type of Rich Text Editor that would provide this ability?

0

There are 0 best solutions below