mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Add "New document" to VisualEditor demo/sandbox
This commit is contained in:
parent
fb5998f1b6
commit
4dfbd527a2
|
@ -555,6 +555,15 @@ $(document).ready( function() {
|
|||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
'New document': {
|
||||
'type': 'document',
|
||||
'children': [
|
||||
{
|
||||
'type': 'paragraph',
|
||||
'content': { 'text': '' }
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
window.documentModel = es.DocumentModel.newFromPlainObject(
|
||||
|
|
Loading…
Reference in a new issue