Skip to content

Commit

Permalink
Made link an external link, title tag to required, and changed help t…
Browse files Browse the repository at this point in the history
…ext for the title field unlcms#690
  • Loading branch information
sarongebre committed Apr 10, 2024
1 parent be13b42 commit e66d2c3
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 7 deletions.
22 changes: 22 additions & 0 deletions config/sync/editor.editor.html_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 1875535d-5bc4-435a-a62e-b6f373b2df0f
langcode: en
status: true
dependencies:
config:
- filter.format.html_code
module:
- codemirror_editor
format: html_code
editor: codemirror_editor
settings:
toolbar: true
buttons:
- enlarge
- shrink
lineWrapping: true
lineNumbers: true
foldGutter: true
autoCloseTags: true
styleActiveLine: true
mode: text/html
image_upload: { }
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ default_value: { }
default_value_callback: ''
settings:
title: 0
link_type: 17
link_type: 16
field_type: link
4 changes: 2 additions & 2 deletions config/sync/field.field.block_content.embed.b_embed_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ field_name: b_embed_title
entity_type: block_content
bundle: embed
label: Title
description: 'This title will be used in the iframe.'
required: false
description: 'This title will be used in the iframe tag for the title attribute.'
required: true
translatable: false
default_value: { }
default_value_callback: ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ default_value: { }
default_value_callback: ''
settings:
title: 0
link_type: 17
link_type: 16
field_type: link
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ field_name: b_embed_title
entity_type: block_content
bundle: embed
label: Title
description: 'This title will be used in the iframe.'
required: false
description: 'This title will be used in the iframe tag for the title attribute.'
required: true
translatable: false
default_value: { }
default_value_callback: ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ dependencies:
- 'unl_news:unl_news'
- 'webform:webform'
- 'webform:webform_submission_log'
version: 1.7.0
version: 1.7.1
package: Herbie

0 comments on commit e66d2c3

Please sign in to comment.