please take a look at the provided example 'Editor'. It is based on the component template Text Editor.
Does it help you?
the Text Editor exposes a property String. To get the actual content of the Text Editor, simply evaluate the property. To change the content, as mentioned by Kyo, assign a new string to the property. For example:
// Get the actual content from the Text Editor
var string text = TextEditor.String;
// Change the content
TextEditor.String = "Hello World!";
Also please note the property OnChange. When you assign to this property a slot method, the Text Editor will invoke the method automatically each time the user modifies the text. In the slot method you can implement your desired operations to handle the event.
I hope, it helps you further.
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!