From 77644e66e9fb8e654e7fe520d3774e790741b02c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 13 Nov 2018 23:58:20 -0500 Subject: [PATCH] Only allow title HTML for title, subtitle --- .../sync/field.field.paragraph.title.field_subtitle.yml | 9 +++++++++ config/sync/field.field.paragraph.title.field_title.yml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/config/sync/field.field.paragraph.title.field_subtitle.yml b/config/sync/field.field.paragraph.title.field_subtitle.yml index 1cd0f27..2b2f0ca 100644 --- a/config/sync/field.field.paragraph.title.field_subtitle.yml +++ b/config/sync/field.field.paragraph.title.field_subtitle.yml @@ -6,7 +6,16 @@ dependencies: - field.storage.paragraph.field_subtitle - paragraphs.paragraphs_type.title module: + - allowed_formats - text +third_party_settings: + allowed_formats: + minimalhtmltitle: minimalhtmltitle + basic_html: '0' + minimalhtml: '0' + restricted_html: '0' + full_html: '0' + plain_text: '0' id: paragraph.title.field_subtitle field_name: field_subtitle entity_type: paragraph diff --git a/config/sync/field.field.paragraph.title.field_title.yml b/config/sync/field.field.paragraph.title.field_title.yml index b41df5a..d3a72f2 100644 --- a/config/sync/field.field.paragraph.title.field_title.yml +++ b/config/sync/field.field.paragraph.title.field_title.yml @@ -6,7 +6,16 @@ dependencies: - field.storage.paragraph.field_title - paragraphs.paragraphs_type.title module: + - allowed_formats - text +third_party_settings: + allowed_formats: + minimalhtmltitle: minimalhtmltitle + basic_html: '0' + minimalhtml: '0' + restricted_html: '0' + full_html: '0' + plain_text: '0' id: paragraph.title.field_title field_name: field_title entity_type: paragraph