From 48d32ef8d1f0582e30ad5bd1f5aba7f44cd8e56c Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 14 Jul 2021 19:08:50 +0200 Subject: [PATCH] created full_html text format --- config/sync/editor.editor.full_html.yml | 61 +++++++++++++++++++++++++ config/sync/filter.format.full_html.yml | 57 +++++++++++++++++++++++ config/sync/user.role.admin.yml | 1 + 3 files changed, 119 insertions(+) create mode 100644 config/sync/editor.editor.full_html.yml create mode 100644 config/sync/filter.format.full_html.yml diff --git a/config/sync/editor.editor.full_html.yml b/config/sync/editor.editor.full_html.yml new file mode 100644 index 00000000..53dfe573 --- /dev/null +++ b/config/sync/editor.editor.full_html.yml @@ -0,0 +1,61 @@ +uuid: ea629e5d-5d2a-4851-9587-c90de9fafa5f +langcode: fr +status: true +dependencies: + config: + - filter.format.full_html + module: + - ckeditor +format: full_html +editor: ckeditor +settings: + toolbar: + rows: + - + - + name: Formats + items: + - Bold + - Italic + - + name: Liens + items: + - DrupalLink + - DrupalUnlink + - + name: Listes + items: + - BulletedList + - NumberedList + - + name: Média + items: + - Blockquote + - DrupalImage + - video_embed + - + name: Outils + items: + - Source + plugins: + stylescombo: + styles: '' + language: + language_list: un + linkit: + linkit_profile: '' + video_embed: + defaults: + children: + autoplay: false + responsive: true + width: '854' + height: '480' +image_upload: + status: false + scheme: public + directory: inline-images + max_size: '' + max_dimensions: + width: null + height: null diff --git a/config/sync/filter.format.full_html.yml b/config/sync/filter.format.full_html.yml new file mode 100644 index 00000000..579acac1 --- /dev/null +++ b/config/sync/filter.format.full_html.yml @@ -0,0 +1,57 @@ +uuid: dc6ccc6a-84e3-4ecb-8362-d341ee42f843 +langcode: fr +status: true +dependencies: + module: + - pathologic + - url_to_video_filter + - video_embed_wysiwyg +name: 'full html' +format: full_html +weight: 0 +filters: + filter_htmlcorrector: + id: filter_htmlcorrector + provider: filter + status: true + weight: 10 + settings: { } + filter_url: + id: filter_url + provider: filter + status: true + weight: 0 + settings: + filter_url_length: 72 + filter_html_image_secure: + id: filter_html_image_secure + provider: filter + status: true + weight: 9 + settings: { } + filter_pathologic: + id: filter_pathologic + provider: pathologic + status: true + weight: 50 + settings: + settings_source: global + local_settings: + protocol_style: full + local_paths: '' + filter_url_to_video: + id: filter_url_to_video + provider: url_to_video_filter + status: true + weight: 0 + settings: + youtube: '1' + youtube_webp_preview: '0' + vimeo: '1' + autoload: '0' + video_embed_wysiwyg: + id: video_embed_wysiwyg + provider: video_embed_wysiwyg + status: true + weight: 0 + settings: { } diff --git a/config/sync/user.role.admin.yml b/config/sync/user.role.admin.yml index 5718f9bf..a7482cc0 100644 --- a/config/sync/user.role.admin.yml +++ b/config/sync/user.role.admin.yml @@ -173,6 +173,7 @@ permissions: - 'update content translations' - 'update materio_order_type commerce_order' - 'use jsonrpc services' + - 'use text format full_html' - 'use text format wysiwyg' - 'view all login histories' - 'view any commerce_license'