We recently published the final release version of our Node.js and Angular implementations that enables developers to use the TX Text Control HTML5-based document editor in pure Angular and Node.js applications.
Create a basic Angular application as described in this tutorial:
Creating your First Angular Application
Add the declaration and the methods onClickSave and onClickLoad to the app.component.ts TypeScript file, so that the complete file looks like this:
Finally, add two buttons to the app.component.html with the Angular click handlers:
When executing the application, an HTML document is loaded into the editor and the save button alerts the resulting HTML from the saveDocument method.