-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Allow to default a manual link decorators value #6031
Comments
Thanks. That's a good idea. |
Hi, is this going to make at some point? Many of our users are very interested on this feature. |
Feature: Introduced an option to configure a manual decorator to be "on" by default. Closes ckeditor/ckeditor5#6031.
Feature: Introduced an option to configure a manual decorator to be "on" by default. Closes #6031.
@Reinmar @niegowski I have tested this multiple times now and I still can't see it working. decorators: {
addTargetToLinks: {
mode: 'manual',
label: 'Open in a new tab',
defaultValue: true,
attributes: {
target: '_blank',
rel: 'noopener noreferrer',
},
}, |
Okay so it works when you use the toolbar and click link, which was never really an issue because the user can see to make it a new tab or not easily. The issue is when you paste a link it auto links to be internal. This still happens. |
https://ckeditor.com/docs/ckeditor5/latest/features/link.html#adding-target-and-rel-attributes-to-external-links
We are using the open in new tab option here but want it to default to true.
If you'd like to see this feature implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: