

TX Text Control HTML5 Document Editor (Angular version) Using the JavaScript API
#Angular document editor how to#
To learn how to create your own WebSocket server project, please have a look at this tutorial:Ĭreating a WebSocket Server Project with Node.js Attribute DocumentationĪll available attributes for the Angular element are documented in the NPM package overview page: This tutorial uses a demo server backend for the required synchronization service that synchronizes the document in order to provide the WYSIWYG rendering - a unique feature of TX Text Control to edit documents pixel-perfect across devices and browsers. Your default browser is opened with your created Angular app:

In Visual Studio Code, open the file src -> app ->, add the following code and save it:īack in the command prompt, start the Angular application by typing in the following command: ng serve -open
#Angular document editor install#
Install the TX Text Control document editor package by typing in the following command: ng add this folder in Visual Studio Code by typing in the following command: code. Open a Command Prompt and create a new project and default app by typing in the following command:įollow the questions in the command prompt by answering them with "y" to add Angular routing and Enter to confirm CSS as your preferred stylesheet format.Ĭhange into the created folder by typing in the following command: cd my-editor-app Open a Command Prompt and install the Angular CLI globally by typing in the following command: npm install -g tutorial uses Visual Studio Code that can be downloaded for free. Install Node.js® and npm, if not done before. PrerequisitesĬreate your free trial access token here: This tutorial shows how to create your first Angular application using the TX Text Control document editor. This tutorial uses a hosted WebSocket Server project that can be used for evaluation purposes. NET Server is required for the backend processing). In addition to this project, a WebSocket Server project is required and can be created using ASP.NET MVC or Node.js ( TX Text Control. TX Text Control for Angular is used to integrate the TX Text Control HTML5-based document editor in Angular applications.
