Smart textarea

Provides ability to show customized callouts inside textareas based on user text selection events

The smart-textarea component can be used to create a textarea with a customized callout that can be used to perform actions on the highlighted text. If you require auto-complete capabilities, you can use the auto-complete pattern instead.

Highlighting any text inside the textarea will show a button that can be clicked to delete the highlighted text.