loleaflet/src/map/handler/Map.Keyboard.js | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 617886d09c04e5df1b3861e65232e5f34dedb3b2 Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Thu Nov 7 23:11:14 2019 +0100 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Thu Nov 7 23:13:52 2019 +0100 Ctrl+K should show the new JS hyperlink dialog Change-Id: If8f210870af9fc4b1d8955ccd1380593ec322611 diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js index f89e5e032..346c2147b 100644 --- a/loleaflet/src/map/handler/Map.Keyboard.js +++ b/loleaflet/src/map/handler/Map.Keyboard.js @@ -419,6 +419,12 @@ L.Map.Keyboard = L.Handler.extend({ return true; } + if (e.ctrlKey && (e.key === 'k' || e.key === 'K')) { + this._map.showHyperlinkDialog(); + e.preventDefault(); + return true; + } + if (e.ctrlKey && (e.key === 'z' || e.key === 'Z')) { this._map._socket.sendMessage('uno .uno:Undo'); e.preventDefault(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits