From ab3474de7b8554f9c812a7d8166829433ff18175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 1 Dec 2018 10:27:45 -0500 Subject: [PATCH] Configure full HTML to do line breaks, give editors access This fixes paragraphs not showing up on imported content --- config/sync/editor.editor.full_html.yml | 8 ++++++-- config/sync/filter.format.full_html.yml | 22 ++++++++++++++++++++++ config/sync/user.role.editor.yml | 1 + config/sync/user.role.manager.yml | 1 + 4 files changed, 30 insertions(+), 2 deletions(-) diff --git a/config/sync/editor.editor.full_html.yml b/config/sync/editor.editor.full_html.yml index 3b677f3..990de9a 100644 --- a/config/sync/editor.editor.full_html.yml +++ b/config/sync/editor.editor.full_html.yml @@ -54,11 +54,15 @@ settings: plugins: stylescombo: styles: '' + language: + language_list: un + linebreaks: + method: force image_upload: status: true scheme: public directory: inline-images max_size: '' max_dimensions: - width: 0 - height: 0 + width: null + height: null diff --git a/config/sync/filter.format.full_html.yml b/config/sync/filter.format.full_html.yml index 4968468..ed854bf 100644 --- a/config/sync/filter.format.full_html.yml +++ b/config/sync/filter.format.full_html.yml @@ -34,3 +34,25 @@ filters: status: true weight: 11 settings: { } + filter_autop: + id: filter_autop + provider: filter + status: true + weight: 0 + settings: { } + filter_html: + id: filter_html + provider: filter + status: false + 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: 88
      diff --git a/config/sync/user.role.editor.yml b/config/sync/user.role.editor.yml
      index 35d2257..dac1832 100644
      --- a/config/sync/user.role.editor.yml
      +++ b/config/sync/user.role.editor.yml
      @@ -35,6 +35,7 @@ permissions:
         - 'revert event revisions'
         - 'skip comment approval'
         - 'use exclude node title'
      +  - 'use text format full_html'
         - 'use text format minimalhtml'
         - 'use text format minimalhtmltitle'
         - 'use text format restricted_html'
      diff --git a/config/sync/user.role.manager.yml b/config/sync/user.role.manager.yml
      index 2c8e768..de5c35c 100644
      --- a/config/sync/user.role.manager.yml
      +++ b/config/sync/user.role.manager.yml
      @@ -48,6 +48,7 @@ permissions:
         - 'revert event revisions'
         - 'skip comment approval'
         - 'use exclude node title'
      +  - 'use text format full_html'
         - 'use text format minimalhtml'
         - 'use text format minimalhtmltitle'
         - 'use text format restricted_html'