Skip to content

EditorState

What useEditorState gives: the editor’s status, its workbook’s name, and its edits.

Property Type Description
editedCount number Cells that differ from the file as it was opened.
fileName string -
status "error" | "empty" | "loading" | "ready" -
unsaved boolean Whether there are edits the host hasn’t received through a save.