Add tags from content to notes

This commit is contained in:
Jon Staab
2024-10-02 13:51:43 -07:00
parent a422d59f4b
commit 73eddece54
8 changed files with 84 additions and 411 deletions
+3 -3
View File
@@ -17,6 +17,7 @@ import {
NAddrExtension,
ImageExtension,
VideoExtension,
TagExtension,
FileUploadExtension,
} from "nostr-editor"
import type {StampedEvent} from "@welshman/util"
@@ -92,10 +93,9 @@ export const getEditorOptions = ({
History,
Paragraph,
Text,
TagExtension,
submitOnEnter ? getModifiedHardBreakExtension() : HardBreakExtension,
LinkExtension.extend({
addNodeView: () => SvelteNodeViewRenderer(EditLink),
}),
LinkExtension.extend({addNodeView: () => SvelteNodeViewRenderer(EditLink)}),
Bolt11Extension.extend(asInline({addNodeView: () => SvelteNodeViewRenderer(EditBolt11)})),
NProfileExtension.extend({
addNodeView: () => SvelteNodeViewRenderer(EditMention),