Notebooks: fix save as csv/excel/json/xml (#14882)

* add getEncoding method to notebooks

* fix row 501 missing in serialization

* fix row index

* pr comment
This commit is contained in:
Lucy Zhang
2021-03-29 07:14:49 -07:00
committed by GitHub
parent ca19f08582
commit dd5adad772
4 changed files with 15 additions and 4 deletions

View File

@@ -45,4 +45,8 @@ export class FileNotebookInput extends NotebookInput {
public getTypeId(): string {
return FileNotebookInput.ID;
}
public getEncoding(): string | undefined {
return this.textInput.getEncoding();
}
}

View File

@@ -42,4 +42,8 @@ export class UntitledNotebookInput extends NotebookInput {
public getTypeId(): string {
return UntitledNotebookInput.ID;
}
public getEncoding(): string | undefined {
return this.textInput.getEncoding();
}
}