textEditor property

HTMLInfo? get textEditor

Gets or sets the HTMLInfo that this TextBlock uses as its text editor in the TextEditingTool. If null, the TextBlock will use the default text editor of the TextEditingTool. The default is null. The value should be set to an instance of HTMLInfo. Setting this property might not affect any ongoing text editing operation.

As of 2.0 setting this to an HTML Element is no longer supported.

For example usage, see the Custom TextEditingTool Sample.

Implementation

_i3.HTMLInfo? get textEditor => _i4.getProperty(
      this,
      'textEditor',
    );
set textEditor (HTMLInfo? value)

Implementation

set textEditor(_i3.HTMLInfo? value) {
  _i4.setProperty(
    this,
    'textEditor',
    value ?? _i5.undefined,
  );
}