Skip to main content
Version: 1.x.x

Content Access

quip.apps.RichTextRecord.prototype

getTextContent

Function() => string

Exports the current contents of the RichTextRecord to a Markdown string.

empty

Function() => boolean

Returns true if there is no text in this RichTextRecord.

getPlaceholderText

Function() => string

Returns the placeholder text for this record.

listenToContent

Function(listener: (record: quip.apps.RichTextRecord) => void) => void

Subscribes this listener function to any changes in the contents of this RichTextRecord.

unlistenToContent

Function(listener: (record: quip.apps.RichTextRecord) => void) => void

Unsubscribes this listener function from changes in the content of this RichTextRecord.