JavaScript Helper Classes: Converting Selected Text to Form Fields
Summary
The online document editor of TX Text Control available for Angular, ASP.NET MVC, ASP.NET Core and very soon as a React component (!) shares the same underlying Java ╰ TX Text Control .NET Server for ASP.NET ╰ JavaScript API JavaScript API that can be used to manipulate every element in a document. Sometimes, instead of adding this code directly to your functions, it is useful to create helper classes to encapsulate typical tasks in reusable components. The following helper class TXHelper provides the function textFormFields.convertFromSelection that converts the currently selected text into a form field: This helper function can be called like shown in the following code. and ID ╰ TX Text Control .NET Server for ASP.NET ╰ TXTextControl Namespace ╰ TextField Class ╰ ID Property Gets or sets an identifier for a text field.