Merge branch 'dmrewrite' of ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor into dmrewrite

This commit is contained in:
Rob Moen 2012-05-03 16:04:47 -07:00
commit bead2050b9
2 changed files with 11 additions and 0 deletions

View file

@ -25,6 +25,12 @@
overflow-y: scroll;
background-color: white;
}
#es-warning {
margin: 2em 2em 1em 2em;
}
#es-docs {
margin: 0 2em;
}
.es-base {
margin: 2em;
margin-top: 0em;

View file

@ -9,6 +9,11 @@
ve.ce.DocumentNode = function( model ) {
// Inheritance
ve.ce.BranchNode.call( this, model );
// DOM Changes
this.$.addClass( 've-ce-documentNode' );
this.$.attr('contentEditable', 'true');
this.$.attr('spellcheck', 'true');
};
/* Static Members */