mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 20:14:57 +02:00
Support for embedding links and references in text editor (#9003)
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
export let component: AnyComponent | undefined = undefined
|
||||
export let disabled: boolean = false
|
||||
export let onClick: ((event: MouseEvent) => void) | undefined = undefined
|
||||
export let transparent: boolean = false
|
||||
|
||||
const client = getClient()
|
||||
const hierarchy = client.getHierarchy()
|
||||
@@ -124,7 +125,7 @@
|
||||
data-label={displayTitle}
|
||||
use:tooltip={docTooltip}
|
||||
>
|
||||
<DocNavLink object={doc} component={docComponent} {disabled} inlineReference {onClick}>
|
||||
<DocNavLink object={doc} component={docComponent} {disabled} inlineReference {onClick} {transparent}>
|
||||
{#if icon}<Icon {icon} size="small" />{' '}{:else}@{/if}{displayTitle}
|
||||
</DocNavLink>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user