From 30a439437b062621084ddb77074967547c66871a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 22 Oct 2018 19:40:33 -0400 Subject: [PATCH] Enable Minimal HTML module --- config/sync/core.extension.yml | 2 + config/sync/editor.editor.minimalhtml.yml | 58 +++++++++++++++++++++++ config/sync/filter.format.minimalhtml.yml | 38 +++++++++++++++ 3 files changed, 98 insertions(+) create mode 100644 config/sync/editor.editor.minimalhtml.yml create mode 100644 config/sync/filter.format.minimalhtml.yml diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index c515f8a..123926f 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -82,6 +82,7 @@ module: migrate_drupal_multilingual: 0 migrate_plus: 0 migrate_tools: 0 + minimalhtml: 0 node: 0 options: 0 page_cache: 0 @@ -106,6 +107,7 @@ module: user: 0 video_embed_field: 0 views_ui: 0 + wysiwyg_linebreaks: 0 ds: 1 menu_link_content: 1 pathauto: 1 diff --git a/config/sync/editor.editor.minimalhtml.yml b/config/sync/editor.editor.minimalhtml.yml new file mode 100644 index 0000000..4f0e407 --- /dev/null +++ b/config/sync/editor.editor.minimalhtml.yml @@ -0,0 +1,58 @@ +uuid: ed2c56f1-bdba-4c8b-8db0-1315427adb1d +langcode: en +status: true +dependencies: + config: + - filter.format.minimalhtml + module: + - ckeditor +_core: + default_config_hash: kP3r4Ns9C1XIg5vFA9a0mteIKThq8E_eL43z7VIZUTY +format: minimalhtml +editor: ckeditor +settings: + toolbar: + rows: + - + - + name: Formatting + items: + - Bold + - Italic + - + name: Links + items: + - DrupalLink + - DrupalUnlink + - + name: Lists + items: + - BulletedList + - NumberedList + - + name: Media + items: + - Blockquote + - + name: Tools + items: + - Source + plugins: + language: + language_list: un + stylescombo: + styles: '' + indentblock: + enable: 0 + colorbutton: + colors: '' + linebreaks: + method: force +image_upload: + status: false + scheme: public + directory: inline-images + max_size: '' + max_dimensions: + width: null + height: null diff --git a/config/sync/filter.format.minimalhtml.yml b/config/sync/filter.format.minimalhtml.yml new file mode 100644 index 0000000..a408bd8 --- /dev/null +++ b/config/sync/filter.format.minimalhtml.yml @@ -0,0 +1,38 @@ +uuid: 31569165-d7e1-4596-a2ab-4e0f1a8de66e +langcode: en +status: true +dependencies: { } +_core: + default_config_hash: 92ohirYz2djTZfHPcIDKZb7qWJfnf8PejLU9mQZs5GY +name: 'Minimal HTML' +format: minimalhtml +weight: 0 +filters: + filter_htmlcorrector: + id: filter_htmlcorrector + provider: filter + status: true + weight: 10 + settings: { } + filter_html: + id: filter_html + provider: filter + status: true + weight: -10 + settings: + allowed_html: '
    1. ' + filter_html_help: true + filter_html_nofollow: false + filter_url: + id: filter_url + provider: filter + status: true + weight: 0 + settings: + filter_url_length: 72 + filter_autop: + id: filter_autop + provider: filter + status: true + weight: 0 + settings: { }