Removed using custom elements for heading views, just using divs now - if we have to switch the level we don't want to have to trash the whole thing and rebuild it

This commit is contained in:
Trevor Parscal 2011-11-02 23:01:35 +00:00
parent 6763fe1542
commit 063868d376

View file

@ -8,7 +8,7 @@
*/ */
es.HeadingView = function( model ) { es.HeadingView = function( model ) {
// Inheritance // Inheritance
es.DocumentViewLeafNode.call( this, model, $( '<h' + model.getElementAttribute( 'level' ) + '>') ); es.DocumentViewLeafNode.call( this, model );
// DOM Changes // DOM Changes
this.$.addClass( 'es-headingView' ); this.$.addClass( 'es-headingView' );