mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Replace example link
This commit is contained in:
parent
3a216226bc
commit
92fba41286
@ -22,7 +22,7 @@ export default class Hashtag extends TipTapMention {
|
|||||||
...super.schema,
|
...super.schema,
|
||||||
toDOM: (node) => {
|
toDOM: (node) => {
|
||||||
// use a dummy domain because URL cannot handle relative urls
|
// use a dummy domain because URL cannot handle relative urls
|
||||||
const url = new URL('/', 'https://human-connection.org')
|
const url = new URL('/', 'https://example.org')
|
||||||
url.searchParams.append('hashtag', node.attrs.id)
|
url.searchParams.append('hashtag', node.attrs.id)
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user