Skip to main content
Version: 1.x.x

Actions

quip.apps.RichTextRecord.prototype

focus

Function(fromPrevious: boolean=true) => void

Sets focus to this RichTextRecord. fromPrevious allows you to configure whether the focus should be set at the beginning or the end of this RichTextRecord's content.

selectAll

Function() => void

Sets the browser selection to select all content within this RichTextRecord.

insertText

Function(text: string) => void

Inserts text at the end of this text box. Requires that the RichTextRecord is actively mounted in a RichTextBox.

replaceContent

Function(text: string) => void

Replaces the content of this RichTextRecord with the given text string. Requires that the RichTextRecord is actively mounted in a RichTextBox.

clearContent

Function() => void

Clears all the content in this record. Requires that the RichTextRecord is actively mounted in a RichTextBox.