SpanClickEvent

class SpanClickEvent(val span: <Error class: unknown class>)

Represents a click or tap event on a RichSpan within the rich text editor.

Constructors

Link copied to clipboard
constructor(span: <Error class: unknown class>)

Properties

Link copied to clipboard

Returns true if this event has been consumed by a handler.

Link copied to clipboard
val span: <Error class: unknown class>

The RichSpan at the clicked position, containing its character range and attributes.

Functions

Link copied to clipboard
fun consume()

Marks this event as consumed, indicating that the span click has been handled and subsequent default actions (such as cursor placement) should be suppressed.