diff --git a/main.qml b/main.qml index 6199cd19..03bdedc8 100644 --- a/main.qml +++ b/main.qml @@ -504,10 +504,30 @@ ApplicationWindow { } } + Action { + shortcut: StandardKey.Undo + onTriggered: webView.triggerWebAction(WebEngineView.Undo) + } + Action { + shortcut: StandardKey.Redo + onTriggered: webView.triggerWebAction(WebEngineView.Redo) + } + Action { + shortcut: StandardKey.Cut + onTriggered: webView.triggerWebAction(WebEngineView.Cut) + } + Action { + shortcut: StandardKey.Copy + onTriggered: webView.triggerWebAction(WebEngineView.Copy) + } Action { shortcut: StandardKey.Paste onTriggered: webView.triggerWebAction(WebEngineView.Paste) } + Action { + shortcut: StandardKey.SelectAll + onTriggered: webView.triggerWebAction(WebEngineView.SelectAll) + } DropArea { anchors.fill: parent