@ -76,6 +76,7 @@ export default class Book {
case DataEvent.API_PAGE_WRITE:
var layout = 'page';
if (body.layout !== 'page') layout = body.layout;
if (body.layout === null || body.layout === 'null') layout = 'page';
var pageWrite =
'---\n' +
'id: ' +