<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`TextFileView`](TextFileView) › [`getViewData`](TextFileView/getViewData) ## TextFileView.getViewData() method Gets the data from the editor. This will be called to save the editor contents to the file. 0.10.12 **Signature:** ```typescript abstract getViewData(): string; ``` **Returns:** `string`