diff --git a/src/lib/webview/webview.cpp b/src/lib/webview/webview.cpp index c0508485a..b375b887e 100644 --- a/src/lib/webview/webview.cpp +++ b/src/lib/webview/webview.cpp @@ -682,8 +682,13 @@ void WebView::showClickedFrameSource() bool WebView::event(QEvent* event) { if (event->type() == QEvent::ContextMenu && !qzSettings->allowJsDisableContextMenu) { - contextMenuEvent(static_cast(event)); - return true; + QContextMenuEvent* ev = static_cast(event); + const QWebHitTestResult &hitTest = page()->mainFrame()->hitTestContent(ev->pos()); + + if (!hitTest.isContentEditable()) { + contextMenuEvent(ev); + return true; + } } return QWebView::event(event);