loleaflet: revert the removed Ctrl-5 for Calc strikethrough text
This commit is contained in:
parent
fd610ff6a6
commit
26fa6adff7
1 changed files with 6 additions and 0 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue