📝 Supports append text by shortcuts to the dailynote doc on Android https://github.com/siyuan-note/siyuan/issues/14414

This commit is contained in:
Daniel 2025-03-25 00:00:32 +08:00
parent dbe61911e7
commit 44738e34c0
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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
}