showing results for - "contentful rte edit link type"
Malone
31 Apr 2017
1const options = {
2  renderNode: {
3    [INLINES. HYPERLINK]: (node, next) => {
4      return `<a href="${node.data.uri}"${node.data.uri.startsWith('https://mydomain.com') ? '' : ' target="_blank"'}>${next(node.content)}</a>`;
5    }
6  }
7}
8