From 4dfbd527a2c073593cd2932a0be51ece34a39447 Mon Sep 17 00:00:00 2001 From: Inez Korczynski Date: Tue, 13 Dec 2011 08:08:02 +0000 Subject: [PATCH] Add "New document" to VisualEditor demo/sandbox --- modules/sandbox/sandbox.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/sandbox/sandbox.js b/modules/sandbox/sandbox.js index 9eaf1b9a20..282a1f6173 100644 --- a/modules/sandbox/sandbox.js +++ b/modules/sandbox/sandbox.js @@ -555,6 +555,15 @@ $(document).ready( function() { ] } ] + }, + 'New document': { + 'type': 'document', + 'children': [ + { + 'type': 'paragraph', + 'content': { 'text': '' } + } + ] } }; window.documentModel = es.DocumentModel.newFromPlainObject(