🎨 Improve handling of copy block ref when including images https://github.com/siyuan-note/siyuan/issues/9317

This commit is contained in:
Daniel 2023-09-30 17:56:47 +08:00
parent 82bed847e6
commit 121d33e74d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 21 additions and 0 deletions

View file

@ -159,6 +159,7 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/block/getRefIDsByFileAnnotationID", model.CheckAuth, getRefIDsByFileAnnotationID)
ginServer.Handle("POST", "/api/block/getBlockDefIDsByRefText", model.CheckAuth, getBlockDefIDsByRefText)
ginServer.Handle("POST", "/api/block/getRefText", model.CheckAuth, getRefText)
ginServer.Handle("POST", "/api/block/getDOMText", model.CheckAuth, getDOMText)
ginServer.Handle("POST", "/api/block/getTreeStat", model.CheckAuth, getTreeStat)
ginServer.Handle("POST", "/api/block/getBlocksWordCount", model.CheckAuth, getBlocksWordCount)
ginServer.Handle("POST", "/api/block/getContentWordCount", model.CheckAuth, getContentWordCount)