Skip to content
Discussion options

You must be logged in to vote

Hey @jpacostar - I would consider processing the content server-side on render to add target="_blank" to links to another host. That would give you 100% coverage.

To do it in Lexxy on the client-side, use the lexxy:insert-link event to replaceLinkWith and add the attribute.

For advanced needs, you could use the experimental Lexxy Extensions with Node Replacement to override the underlying link node.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jpacostar
Comment options

Answer selected by jpacostar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants