summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 6e3718e0..2083cef3 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -425,6 +425,14 @@ void WebView::keyPressEvent(QKeyEvent *event)
return;
}
}
+
+ QWebHitTestResult result = page()->mainFrame()->hitTestContent( mapFromGlobal( QCursor::pos() ) );
+
+ if( result.isContentEditable() )
+ {
+ KWebView::keyPressEvent(event);
+ return;
+ }
// Auto Scrolling
if ( event->modifiers() == Qt::ShiftModifier )