defaultTextEditor property

HTMLInfo get defaultTextEditor

Gets or sets the default HTMLInfo that edits the text.

When TextEditingTool#doActivate is called, the #currentTextEditor is set to this value by default. If a TextBlock#textEditor is specified on the TextBlock, that editor is used instead.

This tool will call HTMLInfo#show during #doActivate, and HTMLInfo#hide during #doDeactivate.

By default the value is an HTMLInfo, and the HTMLInfo#mainElement is an HTMLTextArea. You can see the default implementation details here.

For typical operation, HTMLInfo implementations should have a way of calling TextEditingTool#acceptText.

Implementation

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

Implementation

set defaultTextEditor(_i3.HTMLInfo value) {
  _i4.setProperty(
    this,
    'defaultTextEditor',
    value,
  );
}