MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / copyEmbed

Function copyEmbed

packages/app-core/src/components/AssetsView.tsx:86–88  ·  view source on GitHub ↗
(asset: AssetMeta)

Source from the content-addressed store, hash-verified

84 }, [notes, vaultRoot, assetFiles])
85
86 const copyEmbed = (asset: AssetMeta): void => {
87 void navigator.clipboard?.writeText(`![[${asset.name}]]`)
88 }
89
90 const renameAsset = async (asset: AssetMeta): Promise<void> => {
91 if (typeof window.zen.renameAsset !== 'function') return

Callers 1

menuItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected