loleaflet: revert the removed Ctrl-5 for Calc strikethrough text

This commit is contained in:
László Németh 2015-11-05 19:02:13 +01:00
parent fd610ff6a6
commit 26fa6adff7

View file

@ -341,6 +341,12 @@ L.Map.Keyboard = L.Handler.extend({
}
switch (e.originalEvent.keyCode) {
case 53: // 5
if (this._map.getDocType() === 'spreadsheet') {
L.Socket.sendMessage('uno .uno:Strikeout');
return true;
}
return false;
case 67: // c
// we prepare for a copy event
this._map._docLayer._textArea.value = 'dummy text';