Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drupal10 #1

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
],
"require": {
"drupal/core": "*",
"drupal/metatag": "^1.13",
"drupal/metatag": "^2.0",
"drupal/easy_breadcrumb": "^2.0",
"drupal/extlink": "^1.3",
"drupal/editor_advanced_link": "^1.6",
"drupal/ckeditor_iframe": "^2.0",
"drupal/linkit": "^5.0.0-beta10 || ^6.0",
"drupal/extlink": "^2.0",
"drupal/editor_advanced_link": "2.x-dev@dev",
"drupal/ckeditor_iframe": "^3.0@alpha",
"drupal/linkit": "^6.1",
"drupal/pathauto": "^1.5",
"drupal/chosen": "^2.9.0",
"drupal/textfield_counter": "*",
"drupal/redirect": "*",
"drupal/save_edit": "^1.3"
"drupal/chosen": "^4.0",
"drupal/textfield_counter": "^2.3",
"drupal/redirect": "^1.9",
"drupal/save_edit": "^1.7"
},
"license": "EUPL-1.2",
"minimum-stability": "dev"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
uuid: 67eccc78-48e5-4748-a888-20b5d120b34d
langcode: da
status: true
dependencies:
config:
- taxonomy.vocabulary.media_folders
module:
- path
- text
id: taxonomy_term.media_folders.default
targetEntityType: taxonomy_term
bundle: media_folders
mode: default
content:
description:
type: text_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
name:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
path:
type: path
weight: 30
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 100
region: content
settings:
display_label: true
third_party_settings: { }
hidden:
publish_on: true
publish_state: true
unpublish_on: true
unpublish_state: true
48 changes: 48 additions & 0 deletions config/optional/editor.editor.webform_default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
langcode: en
status: true
dependencies:
config:
- filter.format.webform_default
module:
- ckeditor5
format: webform_default
editor: ckeditor5
settings:
toolbar:
items:
- heading
- '|'
- bold
- italic
- subscript
- superscript
- '|'
- specialCharacters
- '|'
- numberedList
- bulletedList
- '|'
- link
- '|'
- indent
- outdent
- '|'
- blockQuote
- '|'
- sourceEditing
plugins:
ckeditor5_heading:
enabled_headings:
- heading2
- heading3
- heading4
- heading5
- heading6
ckeditor5_list:
properties:
reversed: true
startIndex: true
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags: { }
image_upload: { }
167 changes: 114 additions & 53 deletions config/optional/editor.editor.wysiwyg_tekst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,74 +4,135 @@ dependencies:
config:
- filter.format.wysiwyg_tekst
module:
- ckeditor
- ckeditor5
format: wysiwyg_tekst
editor: ckeditor
editor: ckeditor5
settings:
toolbar:
rows:
-
items:
- heading
- bold
- italic
- '|'
- blockQuote
- code
- bulletedList
- numberedList
- indent
- outdent
- alignment
- underline
- strikethrough
- insertTable
- drupalInsertImage
- media_directories
- codeBlock
- sourceEditing
- link
- iframeEmbed
plugins:
ckeditor5_alignment:
enabled_alignments:
- center
- justify
- left
- right
ckeditor5_codeBlock:
languages:
-
name: Formatering
items:
- Format
- Bold
- Underline
- Italic
- Strike
label: 'Plain text'
language: plaintext
-
name: Edit
items:
- Paste
- PasteText
- PasteFromWord
- Undo
- Redo
label: C
language: c
-
name: Alignment
items:
- JustifyCenter
- JustifyLeft
- JustifyRight
- JustifyBlock
label: 'C#'
language: cs
-
name: Links
items:
- DrupalLink
- DrupalUnlink
label: C++
language: cpp
-
name: Lister
items:
- BulletedList
- NumberedList
- Table
label: CSS
language: css
-
name: Media
items:
- Blockquote
- DrupalImage
label: Diff
language: diff
-
name: Embed
items:
- Iframe
label: HTML
language: html
-
name: Værktøjer
items:
- Source
- RemoveFormat
plugins:
stylescombo:
styles: ''
language:
language_list: un
drupallink:
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:
- heading1
- heading2
- heading3
- heading4
- heading5
- heading6
ckeditor5_imageResize:
allow_resize: true
ckeditor5_list:
properties:
reversed: false
startIndex: true
multiBlock: true
ckeditor5_sourceEditing:
allowed_tags:
- '<cite>'
- '<dl>'
- '<dt>'
- '<dd>'
- '<span>'
- '<blockquote cite>'
- '<ul type>'
- '<ol type>'
- '<table summary cellspacing cellpadding border align class>'
- '<th scope>'
- '<h2 id>'
- '<h3 id>'
- '<h4 id>'
- '<h5 id>'
- '<h6 id>'
- '<p id>'
ckeditor_iframe_embed_iframeembed:
enabled_optional_attributes:
- height
- width
- name
- tabindex
- title
editor_advanced_link_link:
enabled_attributes: { }
linkit_extension:
linkit_enabled: true
linkit_profile: os2web_hjemmeside
linkit_profile: default
media_media:
allow_view_mode_override: false
image_upload:
status: false
scheme: public
directory: inline-images
max_size: ''
max_dimensions:
width: 2000
height: 2000
width: 0
height: 0
28 changes: 28 additions & 0 deletions config/optional/embed.button.media_directories.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
uuid: ec183e1e-a57b-422b-ba13-485721f983c7
langcode: da
status: true
dependencies:
config:
- entity_browser.browser.media_directories_editor_browser
module:
- entity_embed
- media
- media_directories_editor
_core:
default_config_hash: jOVjHoQgVR9dBBm3QBPPmHQlg9DRd5IO3qsy1SOSWHU
label: Media
id: media_directories
type_id: entity
type_settings:
entity_type: media
bundles: { }
display_plugins:
- 'entity_reference:media_directories_image_dimensions'
- 'view_mode:media.full'
entity_browser: media_directories_editor_browser
entity_browser_settings:
display_review: false
icon:
uri: 'public://embed_buttons/folder.svg'
data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gU3ZnIFZlY3RvciBJY29ucyA6IGh0dHA6Ly93d3cub25saW5ld2ViZm9udHMuY29tL2ljb24gLS0+DQo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMDAwIDEwMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPG1ldGFkYXRhPiBTdmcgVmVjdG9yIEljb25zIDogaHR0cDovL3d3dy5vbmxpbmV3ZWJmb250cy5jb20vaWNvbiA8L21ldGFkYXRhPg0KPGc+PHBhdGggZD0iTTkyNC4zLDU1MC44YzAtMTItOS4xLTE4LTI3LjItMThIMzM4LjZjLTEzLjcsMC0yOC4zLDMuNy00My45LDExYy0xNS42LDcuNC0yNy44LDE2LjMtMzYuNywyNi45TDEwNy4xLDc1Ny4yYy02LjIsOC4yLTkuMiwxNS4xLTkuMiwyMC41YzAsMTIsOS4xLDE4LDI3LjIsMThoNTU4LjVjMTMuNywwLDI4LjQtMy44LDQ0LjItMTEuM2MxNS43LTcuNSwyNy45LTE2LjYsMzYuNC0yNy4ybDE1MC45LTE4Ni4zQzkyMS4yLDU2My4zLDkyNC4zLDU1Ni42LDkyNC4zLDU1MC44TD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TAsNTM4LjUsOTkwLDU1MC44TDk5MCw1NTAuOHoiLz48L2c+DQo8L3N2Zz4=
icon_uuid: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
uuid: e4b60d51-0167-4ea4-b92d-016e25d23898
langcode: da
status: true
dependencies:
module:
- views
_core:
default_config_hash: Ft-_y8y1CaFeczXk7k90GmfNeCe_M3LPb1zCJDcwy1Y
name: media_directories_editor_browser
label: 'Media Directories: Editor widget'
display: iframe
display_configuration:
width: ''
height: ''
link_text: 'Select entities'
auto_open: true
selection_display: no_display
selection_display_configuration: { }
widget_selector: single
widget_selector_configuration: { }
widgets:
5bc2a17c-b080-4a3b-867c-7953ae9b55c4:
id: media_directories_browser_widget
uuid: 5bc2a17c-b080-4a3b-867c-7953ae9b55c4
label: 'Directory browser'
weight: -10
settings:
submit_text: 'Select media'
auto_select: 0
Loading