TextEditor: an editable SilkText field with caret, selection and IME.
import { TextEditor } from 'pixi-silk/ui/textedit';
Classes#
| Class | Description |
|---|
| TextEditor | Text you can click and edit on the canvas. It draws a SilkText plus a caret and a selection drawn with silk. |
Interfaces#
Type Aliases#
| Type Alias | Description |
|---|
| TextEditKind | What kind of edit a change is. Consecutive edits of the same kind merge into one undo step. |
Variables#
| Variable | Description |
|---|
| TEXT_EDITOR_THEME | Default colours of a TextEditor: a blue caret and highlight. Override single values with the theme option. |