mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
Disable objectResizing and inlineTableEditing within execCommand
Change-Id: I06406bfd56e01e72b157fd8cb50da8d6173edc25
This commit is contained in:
parent
32c2366dca
commit
19a02f3798
|
@ -16,6 +16,11 @@ ve.ce.Surface = function( $container, model ) {
|
|||
|
||||
// Initialization
|
||||
this.$.append( this.documentView.documentNode.$ );
|
||||
|
||||
try {
|
||||
document.execCommand( "enableObjectResizing", false, false );
|
||||
document.execCommand( "enableInlineTableEditing", false, false );
|
||||
} catch (e) { }
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
|
Loading…
Reference in a new issue