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
65f96c2b28
commit
e247d25aee
@ -15,7 +15,8 @@ export default class Mention extends TipTapMention {
|
||||
'a',
|
||||
{
|
||||
class: this.options.mentionClass,
|
||||
href: node.attrs.url
|
||||
href: node.attrs.url,
|
||||
target: '_blank'
|
||||
},
|
||||
`${this.options.matcher.char}${node.attrs.label}`
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user