Optional ReadonlyattachedThis field allows to attach data to this injected text. The data can be read when injected texts at a given position are queried.
ReadonlycontentSets the text to inject. Must be a single line.
Optional ReadonlycursorConfigures cursor stops around injected text. Defaults to InjectedTextCursorStops.Both.
Optional ReadonlyinlineIf set, the decoration will be rendered inline with the text with this CSS class name.
Optional ReadonlyinlineIf there is an inlineClassName which affects letter spacing.
Configures text that is injected into the view without changing the underlying document.