From 25935fa578656a5982d4452bd5d9858c55980e22 Mon Sep 17 00:00:00 2001 From: Daniel Bainton Date: Wed, 15 Apr 2009 08:32:09 +0300 Subject: [PATCH] Elements with contentEditable will now trigger insert mode. (David Bronke) --- common/content/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/events.js b/common/content/events.js index ddf874bc..40f3207d 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -1208,7 +1208,7 @@ function Events() //{{{ return; } - if (elem instanceof HTMLTextAreaElement) + if (elem instanceof HTMLTextAreaElement || (elem && elem.contentEditable)) { this.wantsModeReset = false; if (options["insertmode"])