Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TextRun

import type { TextRun } from "https://googleapis.deno.dev/v1/docs:v1.ts";

A ParagraphElement that represents a run of text that all has the same styling.

interface TextRun {
content?: string;
suggestedDeletionIds?: string[];
suggestedInsertionIds?: string[];
suggestedTextStyleChanges?: {
[key: string]: SuggestedTextStyle;
}
;
textStyle?: TextStyle;
}

§Properties

§
content?: string
[src]

The text of this run. Any non-text elements in the run are replaced with the Unicode character U+E907.

§
suggestedDeletionIds?: string[]
[src]

The suggested deletion IDs. If empty, then there are no suggested deletions of this content.

§
suggestedInsertionIds?: string[]
[src]

The suggested insertion IDs. A TextRun may have multiple insertion IDs if it's a nested suggested change. If empty, then this is not a suggested insertion.

§
suggestedTextStyleChanges?: {
[key: string]: SuggestedTextStyle;
}
[src]

The suggested text style changes to this run, keyed by suggestion ID.

§
textStyle?: TextStyle
[src]

The text style of this run.