From 04a37997c462c68b1198d9a8a79d5865fe1a604e Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 11 Oct 2007 08:35:53 +0000 Subject: [PATCH] pass all key events through to FF when in designMode --- content/events.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/events.js b/content/events.js index b19cb5f7..0110ae03 100644 --- a/content/events.js +++ b/content/events.js @@ -536,6 +536,10 @@ function Events() //{{{ var stop = true; // set to false if we should NOT consume this event but let also firefox handle it + var win = document.commandDispatcher.focusedWindow; + if (win && win.document.designMode == "on") + return true; + // menus have their own command handlers if (vimperator.modes.extended & vimperator.modes.MENU) return true;