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