Add nostr-editor

This commit is contained in:
Jon Staab
2024-08-19 14:22:16 -07:00
parent 4d7c880576
commit d03ef264f7
17 changed files with 1396 additions and 13 deletions
@@ -0,0 +1,13 @@
<script lang="ts">
import cx from 'classnames'
import type {NodeViewProps} from '@tiptap/core'
import {NodeViewWrapper} from 'svelte-tiptap'
import Icon from '@lib/components/Icon.svelte'
export let node: NodeViewProps['node']
</script>
<NodeViewWrapper class="inline link-content">
<Icon icon="paperclip" size={3} class="inline-block translate-y-px" />
{node.attrs.file.name}
</NodeViewWrapper>