Bump versions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@welshman/editor",
|
||||
"version": "0.0.7",
|
||||
"version": "0.0.8",
|
||||
"scripts": {
|
||||
"pub": "npm run check && npm run build && npm publish",
|
||||
"fix": "",
|
||||
@@ -44,7 +44,7 @@
|
||||
"@tiptap/suggestion": "^2.9.1",
|
||||
"@welshman/lib": "~0.0.36",
|
||||
"@welshman/util": "~0.0.53",
|
||||
"nostr-editor": "github:cesardeazevedo/nostr-editor#a211491c",
|
||||
"nostr-editor": "^0.0.4-pre.6",
|
||||
"nostr-tools": "^2.8.1",
|
||||
"svelte": "^4.0.0",
|
||||
"svelte-tiptap": "^1.0.0"
|
||||
@@ -67,7 +67,7 @@
|
||||
"@tiptap/pm": "^2.9.1",
|
||||
"@welshman/lib": "~0.0.36",
|
||||
"@welshman/util": "~0.0.53",
|
||||
"nostr-editor": "github:cesardeazevedo/nostr-editor#a211491c",
|
||||
"nostr-editor": "^0.0.4-pre.6",
|
||||
"nostr-tools": "^2.10.4",
|
||||
"publint": "^0.2.0",
|
||||
"svelte": "^4.0.0",
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
|
||||
<NodeViewWrapper as="span">
|
||||
<button class="tiptap-object {selected ? 'tiptap-active' : ''}">
|
||||
{fromNostrURI(node.attrs.nevent).slice(0, 16)}...
|
||||
{fromNostrURI(node.attrs.bech32).slice(0, 16)}...
|
||||
</button>
|
||||
</NodeViewWrapper>
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
|
||||
<NodeViewWrapper as="span">
|
||||
<button class="tiptap-object {selected ? 'tiptap-active' : ''}">
|
||||
@{node.attrs.nprofile.slice(0, 16)}...
|
||||
@{node.attrs.bech32.slice(0, 16)}...
|
||||
</button>
|
||||
</NodeViewWrapper>
|
||||
|
||||
@@ -147,7 +147,6 @@ export const WelshmanExtension = NostrExtension.extend<WelshmanOptions>({
|
||||
group: "inline",
|
||||
},
|
||||
extend: {
|
||||
renderText: (props: any) => toNostrURI(props.node.attrs.nevent),
|
||||
addNodeView: () => SvelteNodeViewRenderer(EditEvent),
|
||||
},
|
||||
},
|
||||
@@ -157,13 +156,11 @@ export const WelshmanExtension = NostrExtension.extend<WelshmanOptions>({
|
||||
group: "inline",
|
||||
},
|
||||
extend: {
|
||||
renderText: (props: any) => toNostrURI(props.node.attrs.naddr),
|
||||
addNodeView: () => SvelteNodeViewRenderer(EditEvent),
|
||||
},
|
||||
},
|
||||
nprofile: {
|
||||
extend: {
|
||||
renderText: (props: any) => toNostrURI(props.node.attrs.nprofile),
|
||||
addNodeView: () => SvelteNodeViewRenderer(EditMention),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user