Fix target on editor links, closes #246
This commit is contained in:
@@ -4,7 +4,7 @@ import type { Props } from '../types';
|
||||
|
||||
export default function Link({ attributes, node, children }: Props) {
|
||||
return (
|
||||
<a {...attributes} href={node.data.get('href')}>
|
||||
<a {...attributes} href={node.data.get('href')} target="_blank">
|
||||
{children}
|
||||
</a>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user