mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-23 18:28:51 +00:00
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:
parent
6763fe1542
commit
063868d376
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
es.HeadingView = function( model ) {
|
||||
// Inheritance
|
||||
es.DocumentViewLeafNode.call( this, model, $( '<h' + model.getElementAttribute( 'level' ) + '>') );
|
||||
es.DocumentViewLeafNode.call( this, model );
|
||||
|
||||
// DOM Changes
|
||||
this.$.addClass( 'es-headingView' );
|
||||
|
|
Loading…
Reference in a new issue