Add "New document" to VisualEditor demo/sandbox

This commit is contained in:
Inez Korczynski 2011-12-13 08:08:02 +00:00
parent fb5998f1b6
commit 4dfbd527a2

View file

@ -555,6 +555,15 @@ $(document).ready( function() {
]
}
]
},
'New document': {
'type': 'document',
'children': [
{
'type': 'paragraph',
'content': { 'text': '' }
}
]
}
};
window.documentModel = es.DocumentModel.newFromPlainObject(