Skip to content

Commit

Permalink
Remove unnecessary code to enable Design Mode in Firefox.
Browse files Browse the repository at this point in the history
Closes google#1210.

RELNOTES: n/a
PiperOrigin-RevId: 575941312
Change-Id: Id164b177e155d8512a1b1f597d17edc2eef5e9c6
  • Loading branch information
12wrigja authored and copybara-github committed Oct 23, 2023
1 parent b704457 commit 81b495a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions closure/goog/editor/seamlessfield.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,17 +493,6 @@ goog.editor.SeamlessField.prototype.dispatchBlur = function() {
};


/** @override */
goog.editor.SeamlessField.prototype.turnOnDesignModeGecko = function() {
'use strict';
goog.editor.SeamlessField.superClass_.turnOnDesignModeGecko.call(this);
var doc = this.getEditableDomHelper().getDocument();

doc.execCommand('enableInlineTableEditing', false, 'false');
doc.execCommand('enableObjectResizing', false, 'false');
};


/** @override */
goog.editor.SeamlessField.prototype.installStyles = function() {
'use strict';
Expand Down

0 comments on commit 81b495a

Please sign in to comment.