Interactive editor
Explore Auto Text Replacement
Replace shortcuts with longer, predefined text phrases.
Type TY, AQ, MY, GD, or LONG in the editor and press Space.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Auto Text Replacement
Replace shortcuts with longer, predefined text phrases.
API used
TXTextControl.inputPosition
How it works
Replace shortcuts with longer, predefined text phrases. The feature-specific JavaScript uses completion and error callbacks to keep the shared status area synchronized with the editor.
Source files
See the implementation
The view, browser behavior, and controller are encapsulated in Demos/RichTextEditor/Advanced/AutoText.