Annotated Text

A static text area to highlight and tag rendered text. It outputs annotated text with the chosen tag, and start and end cursor position.

Screenshot

A screenshot to illustrate the appearance of Annotated Text.

Annotated Text screenshot

Events

Events are triggered by user interactions with Annotated Text. Use event handling to trigger queries or other actions in response to events.

NameDescriptionChange

A user changes the current value.

Methods

Methods for interacting with Annotated Text. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.

NameDescriptionscrollIntoView(options: any)

Scrolls the canvas or parent container so that the selected component appears in the visible area.