New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an attribute to link for target="_blank" #161
Comments
Well, you do not have to change the code, because you will not be able to upgrade easily when a new version comes out. I had the same issue and made a CustomLink extension overriding Link as follows:
Then I used CustomLink instead of link when specifying editor options. I do not know if there is a better approach. |
Yeah @panayotisk shows a good way to extend nodes. At the moment I don't want to add target to the core. |
Thank you @panayotisk for the decision 👍
|
Thanks for sharing! ✌️ |
There is no way to add the target attribute to link mark. I've chnged the minified code at my end to achieve it.
The text was updated successfully, but these errors were encountered: