We are providing a concept to support all non ASP.NET web applications such as Angular, React or any other framework and language.
Test this in JSFiddle
The following easy steps are required to add the HTML widget to any HTML page:
Then create a container DIV somewhere in your HTML that will host the widget. The editor itself will automatically fill the complete container.
Finally, in a SCRIPT section, create a new widget by passing the container id in the constructor:
The object textControl1 is now the instance of the widget and can be used to access it's API to manipulate the document. It is possible to create more than one instance of the editor by creating new object instances with different containers.
The documentation shows how to host your own widget:
The hosting widget project is open source and can be modified as required. You will find this project in our GitHub repository:
Download and Fork This Sample on GitHub
We proudly host our sample code on github.com/TextControl.
Please fork and contribute.
Requirements for This Sample
- Visual Studio 2017 or better
- TX Text Control .NET Server for ASP.NET (trial sufficient)