From aec07fccb81ddb4f6b1df8b4928ffacf4b20f6c4 Mon Sep 17 00:00:00 2001 From: nshenderov Date: Mon, 30 Sep 2024 17:03:15 +0300 Subject: [PATCH] fix: remove confused decorator, closes #163 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. --- admin/src/components/Input/presets/default.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/admin/src/components/Input/presets/default.js b/admin/src/components/Input/presets/default.js index 43e0f32..40e8c88 100644 --- a/admin/src/components/Input/presets/default.js +++ b/admin/src/components/Input/presets/default.js @@ -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',