Saving & Loading
The editor config exposes a property save, which is an async
method that saves the page.
This is a debounced method that will be invoked after every change.
If you want to turn off autosaving you can set shouldAutoSave
to false.
The config also has a onChange property which is not debounced
and will be invoked on every change.
To pass initial state to the editor, use initialPage
<PageEditor initialPage={data} />