Fix target on editor links, closes #246

This commit is contained in:
Tom Moor
2017-09-13 23:18:21 -07:00
parent c70c1d328e
commit c3c9c68ce6

View File

@@ -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>
);