mirror of
https://github.com/documize/community.git
synced 2025-07-21 22:29:41 +02:00
click handlers for content links
This commit is contained in:
parent
c27de6bcab
commit
899b4f978c
27 changed files with 265 additions and 83 deletions
|
@ -60,6 +60,8 @@ func getLink(t html.Token) (ok bool, link entity.Link) {
|
|||
ok = true
|
||||
case "data-link-id":
|
||||
link.RefID = strings.TrimSpace(a.Val)
|
||||
case "data-link-space-id":
|
||||
link.FolderID = strings.TrimSpace(a.Val)
|
||||
case "data-link-document-id":
|
||||
link.DocumentID = strings.TrimSpace(a.Val)
|
||||
case "data-link-target-id":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue