mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Open mentioning link in new tab
This will help some people not to loose data after accidently clicking on the user @-mentioning.
This commit is contained in:
parent
fe551ece47
commit
9ed204fa72
@ -15,7 +15,8 @@ export default class Mention extends TipTapMention {
|
|||||||
'a',
|
'a',
|
||||||
{
|
{
|
||||||
class: this.options.mentionClass,
|
class: this.options.mentionClass,
|
||||||
href: node.attrs.url
|
href: node.attrs.url,
|
||||||
|
target: '_blank'
|
||||||
},
|
},
|
||||||
`${this.options.matcher.char}${node.attrs.label}`
|
`${this.options.matcher.char}${node.attrs.label}`
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user