mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
copy paste, undo, redo, select all shortcuts supported on mac build
This commit is contained in:
@@ -46,6 +46,10 @@ function isElectron() {
|
||||
return window && window.process && window.process.type;
|
||||
}
|
||||
|
||||
function isMac() {
|
||||
return navigator.platform.indexOf('Mac') > -1;
|
||||
}
|
||||
|
||||
function assertArguments() {
|
||||
for (const i in arguments) {
|
||||
if (!arguments[i]) {
|
||||
@@ -150,6 +154,7 @@ export default {
|
||||
formatDateTime,
|
||||
now,
|
||||
isElectron,
|
||||
isMac,
|
||||
assertArguments,
|
||||
isTopLevelNode,
|
||||
isRootNode,
|
||||
|
||||
Reference in New Issue
Block a user