Leaves the page editor and discards the working copy; the main document is unchanged and the View group is shown. Does nothing outside the page editor.
A Promise that resolves once the page editor is closed.
await instance.UI.exitPageEditorMode(); Copy
await instance.UI.exitPageEditorMode();
Leaves the page editor and discards the working copy; the main document is unchanged and the View group is shown. Does nothing outside the page editor.