const comm = str=> app.commands.executeCommandById(str)
document.querySelector('.mod-top-left-space.mod-active')
? comm('editor:focus-right') : comm('editor:focus-left')
1 个赞
const comm = str=> app.commands.executeCommandById(str)
document.querySelector('.mod-top-left-space.mod-active')
? comm('editor:focus-right') : comm('editor:focus-left')