From f808b0c09f89d4a91cc3b2019cbc7a45d3ba64b5 Mon Sep 17 00:00:00 2001 From: Camilo Villamizar Date: Thu, 26 Oct 2023 14:37:49 -0300 Subject: [PATCH] POMP-169 Cut defunct permissions in formats/roles and assign CKEditor --- configuration/editor.editor.unb_libraries.yml | 116 ++++++++++++++++++ configuration/filter.format.unb_libraries.yml | 2 +- configuration/user.role.anonymous.yml | 7 +- configuration/user.role.authenticated.yml | 5 +- .../user.role.pomp_content_editor.yml | 23 ++-- 5 files changed, 136 insertions(+), 17 deletions(-) create mode 100644 configuration/editor.editor.unb_libraries.yml diff --git a/configuration/editor.editor.unb_libraries.yml b/configuration/editor.editor.unb_libraries.yml new file mode 100644 index 00000000..85ebe6a3 --- /dev/null +++ b/configuration/editor.editor.unb_libraries.yml @@ -0,0 +1,116 @@ +uuid: 57ea6bd7-6038-4c68-b970-798494294534 +langcode: en +status: true +dependencies: + config: + - filter.format.unb_libraries + module: + - ckeditor5 +format: unb_libraries +editor: ckeditor5 +settings: + toolbar: + items: + - heading + - bold + - italic + - '|' + - link + - blockQuote + - code + - bulletedList + - numberedList + - strikethrough + - superscript + - subscript + - insertTable + - horizontalLine + - codeBlock + - sourceEditing + plugins: + ckeditor5_codeBlock: + languages: + - + label: 'Plain text' + language: plaintext + - + label: C + language: c + - + label: 'C#' + language: cs + - + label: C++ + language: cpp + - + label: CSS + language: css + - + label: Diff + language: diff + - + label: HTML + language: html + - + label: Java + language: java + - + label: JavaScript + language: javascript + - + label: PHP + language: php + - + label: Python + language: python + - + label: Ruby + language: ruby + - + label: TypeScript + language: typescript + - + label: XML + language: xml + ckeditor5_heading: + enabled_headings: + - heading2 + - heading3 + - heading4 + - heading5 + - heading6 + ckeditor5_list: + reversed: false + startIndex: true + ckeditor5_sourceEditing: + allowed_tags: + - '' + - '' + - '
' + - '' + - '