mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Find-replace support file annotation ref elements https://github.com/siyuan-note/siyuan/issues/13013
This commit is contained in:
parent
4e6651c46e
commit
fa2f8ed7e5
16 changed files with 58 additions and 26 deletions
|
|
@ -122,7 +122,7 @@ func findReplace(c *gin.Context) {
|
|||
}
|
||||
|
||||
replaceTypes := map[string]bool{}
|
||||
// text, imgText, imgTitle, imgSrc, aText, aTitle, aHref, code, em, strong, inlineMath, inlineMemo, kbd, mark, s, sub, sup, tag, u
|
||||
// text, imgText, imgTitle, imgSrc, aText, aTitle, aHref, code, em, strong, inlineMath, inlineMemo, blockRef, fileAnnotationRef kbd, mark, s, sub, sup, tag, u
|
||||
// docTitle, codeBlock, mathBlock, htmlBlock
|
||||
if nil != arg["replaceTypes"] {
|
||||
replaceTypesArg := arg["replaceTypes"].(map[string]interface{})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue