mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 00:06:09 +01:00
📝 Supports append text by shortcuts to the dailynote doc on Android https://github.com/siyuan-note/siyuan/issues/14414
This commit is contained in:
parent
dbe61911e7
commit
44738e34c0
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ import (
|
|||
"bytes"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/88250/gulu"
|
||||
"github.com/siyuan-note/logging"
|
||||
|
|
@ -70,7 +71,7 @@ func ShortcutsAppendToDailynote() {
|
|||
}
|
||||
}()
|
||||
|
||||
content := buff.String()
|
||||
content := strings.TrimSpace(buff.String())
|
||||
if 1 > len(content) {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue