mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
contenteditable false for tables - true for table cells
This commit is contained in:
parent
29270facde
commit
9340ed6e72
Notes:
Gabriel Wicke
2012-02-27 16:40:01 +00:00
|
@ -13,6 +13,7 @@ es.TableCellView = function( model ) {
|
|||
// DOM Changes
|
||||
this.$
|
||||
.attr( 'style', model.getElementAttribute( 'html/style' ) )
|
||||
.attr( 'contenteditable', true )
|
||||
.addClass( 'es-tableCellView' );
|
||||
};
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ es.TableView = function( model ) {
|
|||
// DOM Changes
|
||||
this.$
|
||||
.attr( 'style', model.getElementAttribute( 'html/style' ) )
|
||||
.attr( 'contenteditable', false )
|
||||
.addClass( 'es-tableView' );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue