🎨 Doc in the user guide no longer supports one-click sending to the community Fix https://github.com/siyuan-note/siyuan/issues/8388

This commit is contained in:
Daniel 2023-05-29 14:27:18 +08:00
parent cf30ad3843
commit 486c082c7d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 14 additions and 5 deletions

View file

@ -59,6 +59,10 @@ func Export2Liandi(id string) (err error) {
return
}
if IsUserGuide(tree.Box) {
return errors.New(Conf.Language(204))
}
sqlAssets := sql.QueryRootBlockAssets(id)
err = uploadAssets2Cloud(sqlAssets, bizTypeExport2Liandi)
if nil != err {