Editor › setValue
Official
Signature:
setValue(content: string): void
Parameters:
Returns: void
Since: 0.11.11
Example:
editor.setValue('foo');