Unverified Commit 71f4dc47 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3273665 by Eli-T, ravi.shankar, immaculatexavier, Wim Leers: Use CKEditor 5 for Umami Demo

(cherry picked from commit 6df89ba6)
(cherry picked from commit 9624a9a9)
parent 3959be8d
Loading
Loading
Loading
Loading
+43 −33
Original line number Diff line number Diff line
@@ -4,42 +4,52 @@ dependencies:
  config:
    - filter.format.basic_html
  module:
    - ckeditor
    - ckeditor5
format: basic_html
editor: ckeditor
editor: ckeditor5
settings:
  toolbar:
    rows:
      -
        -
          name: Formatting
    items:
            - Bold
            - Italic
        -
          name: Linking
          items:
            - DrupalLink
            - DrupalUnlink
        -
          name: Lists
          items:
            - BulletedList
            - NumberedList
        -
          name: Media
          items:
            - Blockquote
            - DrupalMediaLibrary
        -
          name: 'Block Formatting'
          items:
            - Format
        -
          name: Tools
          items:
            - Source
  plugins: {}
      - bold
      - italic
      - '|'
      - link
      - '|'
      - bulletedList
      - numberedList
      - '|'
      - blockQuote
      - drupalMedia
      - '|'
      - heading
      - '|'
      - sourceEditing
      - '|'
  plugins:
    ckeditor5_heading:
      enabled_headings:
        - heading2
        - heading3
        - heading4
        - heading5
        - heading6
    ckeditor5_sourceEditing:
      allowed_tags:
        - '<cite>'
        - '<dl>'
        - '<dt>'
        - '<dd>'
        - '<a hreflang>'
        - '<blockquote cite>'
        - '<ul type>'
        - '<ol type start>'
        - '<h2 id>'
        - '<h3 id>'
        - '<h4 id>'
        - '<h5 id>'
        - '<h6 id>'
        - '<img src alt data-entity-type data-entity-uuid data-align data-caption width height>'
        - '<drupal-media data-view-mode title>'
image_upload:
  status: false
  scheme: public
+33 −41
Original line number Diff line number Diff line
@@ -4,50 +4,42 @@ dependencies:
  config:
    - filter.format.full_html
  module:
    - ckeditor
    - ckeditor5
format: full_html
editor: ckeditor
editor: ckeditor5
settings:
  toolbar:
    rows:
      -
        -
          name: Formatting
    items:
            - Bold
            - Italic
            - Strike
            - Superscript
            - Subscript
            - '-'
            - RemoveFormat
        -
          name: Linking
          items:
            - DrupalLink
            - DrupalUnlink
        -
          name: Lists
          items:
            - BulletedList
            - NumberedList
        -
          name: Media
          items:
            - Blockquote
            - DrupalMediaLibrary
            - Table
            - HorizontalRule
        -
          name: 'Block Formatting'
          items:
            - Format
        -
          name: Tools
          items:
            - ShowBlocks
            - Source
  plugins: {}
      - bold
      - italic
      - strikethrough
      - superscript
      - subscript
      - removeFormat
      - '|'
      - link
      - '|'
      - bulletedList
      - numberedList
      - '|'
      - blockQuote
      - drupalMedia
      - insertTable
      - horizontalLine
      - '|'
      - heading
      - '|'
      - sourceEditing
  plugins:
    ckeditor5_heading:
      enabled_headings:
        - heading2
        - heading3
        - heading4
        - heading5
        - heading6
    ckeditor5_sourceEditing:
      allowed_tags: {  }
image_upload:
  status: true
  scheme: public
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ filters:
    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> <p> <br> <span> <img src alt height width data-entity-type data-entity-uuid data-align data-caption> <drupal-media data-entity-type data-entity-uuid data-view-mode data-align data-caption alt title>'
      allowed_html: '<a href hreflang> <em> <strong> <cite> <blockquote cite> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <p> <br> <img src alt height width data-entity-type data-entity-uuid data-align data-caption> <drupal-media data-entity-type data-entity-uuid data-view-mode data-align data-caption alt title>'
      filter_html_help: false
      filter_html_nofollow: false
  filter_align:
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ install:
  - big_pipe
  - block
  - breakpoint
  - ckeditor
  - ckeditor5
  - config
  - contextual
  - contact
+0 −3
Original line number Diff line number Diff line
@@ -64,6 +64,3 @@ regions:
  bottom: Bottom
  page_top: 'Page top' # Needed by Drupal Core
  page_bottom: 'Page bottom' # Needed by Drupal Core

ckeditor_stylesheets:
  - css/classy/components/media-embed-error.css