I would like to create just a plain text area that accepts HTML contents and then add preview button.
When Preview button is pressed, it displays the contents from edit box into DIV so they can see the style they have created.
What are the steps in ASP.NET (C#) with coding, JavaScript (jQuery), HTML, etc. for doing email template plain text area html contents and after done to preview it.
I have a name & input, subject & input and I will need plain text area that accepts html contents, and pressing preview button to display the content into DIV so the clients can see the style they have created in preview window
Template
Name: input (Name Company)
Subject: Input (any)
Here should be:
Plain Text Area (accepts HTML contents)
Example:
<div style=”color: blue;”> Hello </div>
<br>
<div class="col-12 container body" id="windowVO" style="width: 100vw; margin: 0!important;">
<div class="main_container">
<div id="confirmCustomOverlay" hidden="">
<div id="confirmCustom">
<span id="confirmCustomMessage"></span>
</div>
</div>
</div>
Preview button
After click Preview button below display Preview html contents displays from edit box (plain text area) to view it.
Your help is much appreciated. Thanks.