Skip to content

Commit

Permalink
fix: remove confused decorator #163
Browse files Browse the repository at this point in the history
Due to the addTargetToExternalLinks property, all external links are decorated by default with target _blank, and this cannot be changed unless the option is disabled. If you need different behavior, configure the link feature to your needs.
  • Loading branch information
nshenderov committed Sep 30, 2024
1 parent 5ebcf02 commit 7bd4f6b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions admin/src/Input/presets/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,15 +283,6 @@ const defaultEditorConfig = {
},
link: {
decorators: {
openInNewTab: {
mode: 'manual',
label: 'Open in a new tab',
defaultValue: true,
attributes: {
target: '_blank',
rel: 'noopener noreferrer',
},
},
toggleDownloadable: {
mode: 'manual',
label: 'Downloadable',
Expand Down

0 comments on commit 7bd4f6b

Please sign in to comment.