SolidEditorControlledDocument
SolidEditorControlledDocument =
SolidEditorDocumentFields&object
The source owns the text: each new text is applied to the editor as an edit. Pair it with
onTextChange for an editable editor. Every change then copies the whole text, so prefer
defaultText for anything but small documents and read-only views.
Type Declaration
Section titled “Type Declaration”defaultText?
Section titled “defaultText?”
readonlyoptionaldefaultText?:never
readonlytext:string