mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
🎨 Improve export preview mode https://github.com/siyuan-note/siyuan/issues/11981
This commit is contained in:
parent
4f31068205
commit
827819ef67
4 changed files with 29 additions and 7 deletions
|
|
@ -580,10 +580,9 @@ func exportPreview(c *gin.Context) {
|
|||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
stdHTML, outline := model.Preview(id)
|
||||
stdHTML := model.Preview(id)
|
||||
ret.Data = map[string]interface{}{
|
||||
"html": stdHTML,
|
||||
"outline": outline,
|
||||
"html": stdHTML,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue