Apply restricted_html_format recipe

This commit is contained in:
Mauricio Dinarte 2024-12-04 10:12:45 -06:00
parent 7f8c599299
commit 05c2866305
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,32 @@
uuid: 4e04a032-b772-4380-be8f-b89043fe2ce4
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: AKImDEgqkqGj0nhCb0BQkYRbgymnRkbYfz8Z9EUl5o4
name: 'Restricted HTML'
format: restricted_html
weight: 1
filters:
filter_autop:
id: filter_autop
provider: filter
status: true
weight: 0
settings: { }
filter_html:
id: filter_html
provider: filter
status: true
weight: -10
settings:
allowed_html: '<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>'
filter_html_help: true
filter_html_nofollow: false
filter_url:
id: filter_url
provider: filter
status: true
weight: 0
settings:
filter_url_length: 72

View file

@ -2,7 +2,10 @@ uuid: 6e598ba7-7a21-4cf3-ab22-346768c48847
langcode: en
status: true
dependencies:
config:
- filter.format.restricted_html
module:
- filter
- media
- system
_core:
@ -13,4 +16,5 @@ weight: 0
is_admin: false
permissions:
- 'access content'
- 'use text format restricted_html'
- 'view media'