-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Inline link tool, open in new window option #1057
Comments
Also faced this issue but quickly managed to fix it with JS. Built in would be nice though.
|
@sietseveenman hi! it will be added in the next |
@khaydarov awesome new release! |
In 2.17 we have resolved #1028, not this issue. |
Thanks neSpecc. I am working an a custom inline toolbar button to add the target="_blank". |
Hi @neSpecc, hi @sietseveenman. We had the same issue and created our own Inline "Link" Tool based on the current implementation (https://github.com/codex-team/editor.js/blob/master/src/components/inline-tools/inline-tool-link.ts). It looks like this now: I share the code with anyone interested: https://gist.github.com/natterstefan/0e6c22ed7af59c221b8a80e68b5cdb22 |
Hey @natterstefan @neSpecc This would be a great standard feature imho |
Hi @sietseveenman, thank you very much.
Yes, exactly. @neSpecc, let me know, if I can be of help. Check out the gist for more details. |
+1 for this feature request :) |
@neSpecc would it be possible to set a default target for all links? i would like all links to have |
It would be great to be able to set custom default attributes. For example with TipTap you can do:
|
I would like to add a 'open in new window' checkbox to the inline link tool.
this would add target="_blank" to the element.
How can I overwrite the default inline link tool?
I think this would be a very useful standard feature for the inline link tool.
The text was updated successfully, but these errors were encountered: