link fields target attributes

This commit is contained in:
2026-05-18 16:57:15 +02:00
parent 335127647c
commit 7f852a2894
4 changed files with 28 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ dependencies:
- field.field.paragraph.complement.field_titre
- paragraphs.paragraphs_type.complement
module:
- link
- link_attributes
- text
id: paragraph.complement.default
targetEntityType: paragraph
@@ -24,12 +24,22 @@ content:
placeholder: ''
third_party_settings: { }
field_liens:
type: link_default
type: link_attributes
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
enabled_attributes:
target: true
id: false
name: false
rel: false
class: false
accesskey: false
aria-label: false
title: false
widget_default_open: expanded
third_party_settings: { }
field_titre:
type: string_textfield

View File

@@ -10,7 +10,7 @@ dependencies:
- paragraphs.paragraphs_type.ressource
module:
- file
- link
- link_attributes
- text
id: paragraph.ressource.default
targetEntityType: paragraph
@@ -33,12 +33,22 @@ content:
progress_indicator: throbber
third_party_settings: { }
field_liens:
type: link_default
type: link_attributes
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
enabled_attributes:
target: true
id: false
name: false
rel: false
class: false
accesskey: false
aria-label: false
title: false
widget_default_open: expandIfValuesSet
third_party_settings: { }
field_titre:
type: string_textfield

View File

@@ -29,8 +29,8 @@ content:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
rel: nofollow
target: '0'
third_party_settings: { }
weight: 2
region: content

View File

@@ -39,8 +39,8 @@ content:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
rel: nofollow
target: '0'
third_party_settings: { }
weight: 2
region: content