r105992 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105991‎ | r105992 | r105993 >
Date:08:08, 13 December 2011
Author:inez
Status:ok
Tags:
Comment:
Add "New document" to VisualEditor demo/sandbox
Modified paths:
  • /trunk/extensions/VisualEditor/modules/sandbox/sandbox.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/sandbox/sandbox.js
@@ -555,6 +555,15 @@
556556 ]
557557 }
558558 ]
 559+ },
 560+ 'New document': {
 561+ 'type': 'document',
 562+ 'children': [
 563+ {
 564+ 'type': 'paragraph',
 565+ 'content': { 'text': '' }
 566+ }
 567+ ]
559568 }
560569 };
561570 window.documentModel = es.DocumentModel.newFromPlainObject(

Sign-offs

UserFlagDate
GWickeinspected07:29, 21 December 2011

Status & tagging log