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 @@
556
556
]
557
557
}
558
558
]
559
+ },
560
+ 'New document': {
561
+ 'type': 'document',
562
+ 'children': [
563
+ {
564
+ 'type': 'paragraph',
565
+ 'content': { 'text': '' }
566
+ }
567
+ ]
559
568
}
560
569
};
561
570
window.documentModel = es.DocumentModel.newFromPlainObject(
Sign-offs
User
Flag
Date
GWicke
inspected
07:29, 21 December 2011
Status & tagging log
07:29, 21 December 2011
GWicke
(
talk
|
contribs
)
changed the
status
of r105992
[
removed:
new
added:
ok]