diff --git a/composer.json b/composer.json index bec96ed40..62253ad55 100644 --- a/composer.json +++ b/composer.json @@ -49,7 +49,7 @@ "drupal/scheduler": "^1.3", "drupal/search_api": "^1.0", "drupal/select2": "^1.12", - "drupal/simple_sitemap": "^4.1", + "drupal/simple_sitemap": "4.1.7", "drupal/siteimprove": "^2.0", "drupal/social_media": "^2.0", "drupal/stomp": "^2.0", @@ -62,7 +62,7 @@ "php": "^8.1" }, "conflict": { - "drupal/core": "<10.1 || >=10.2", + "drupal/core": "<10.2", "drupal/ctools": "<3.11 || ^4.0.1", "drupal/helfi_media_map": "*", "drupal/simple_sitemap": ">4.1.7", @@ -75,12 +75,12 @@ "https://www.drupal.org/project/content_lock/issues/3343964": "https://www.drupal.org/files/issues/2023-05-22/3343964-5.patch" }, "drupal/core": { - "[#UHF-181] Hide untranslated menu links (https://www.drupal.org/project/drupal/issues/3091246)": "https://www.drupal.org/files/issues/2023-10-02/3091246--allow-menu-tree-manipulators-alter--23.patch", + "[#UHF-181] Hide untranslated menu links (https://www.drupal.org/project/drupal/issues/3091246)": "https://www.drupal.org/files/issues/2023-12-18/3091246--allow-menu-tree-manipulators-alter--24.patch", "[#UHF-3812] Ajax exposed filters not working for multiple instances of the same Views block placed on one page (https://www.drupal.org/project/drupal/issues/3163299)": "https://www.drupal.org/files/issues/2023-05-07/3163299-104-D10.patch", "[#UHF-4325] Strip whitespaces from twig debug comments": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-helfi-platform-config/b628bc051d82a1883768364050aa833824bd48c8/patches/drupal_core_strip_debug_mode_whitespaces_10.1.x.patch", "[#UHF-7008] Core localization file download URL is wrong (https://www.drupal.org/project/drupal/issues/3022876)": "https://git.drupalcode.org/project/drupal/-/commit/40a96136b2dfe4322338508dffa636f6cb407900.patch", "[#UHF-7008] Add multilingual support for caching basefield definitions (https://www.drupal.org/project/drupal/issues/3114824)": "https://www.drupal.org/files/issues/2020-02-20/3114824_2.patch", - "[#UHF-7008] Admin toolbar and contextual links should always be rendered in the admin language (https://www.drupal.org/project/drupal/issues/2313309)": "https://raw.githubusercontent.com/City-of-Helsinki/drupal-helfi-platform-config/a42c905a162c8510348b17cdf60000a0a7f82037/patches/drupal-2313309-render-admin-toolbar-with-admin-language.patch", + "[#UHF-7008] Admin toolbar and contextual links should always be rendered in the admin language (https://www.drupal.org/project/drupal/issues/2313309)": "https://www.drupal.org/files/issues/2023-12-19/2313309-179.patch", "[#UHF-9388] Process translation config files for custom modules (https://www.drupal.org/i/2845437)": "https://www.drupal.org/files/issues/2023-10-16/2845437-61.patch" }, "drupal/default_content": { diff --git a/helfi_platform_config.services.yml b/helfi_platform_config.services.yml index 607ec38f5..c1220b744 100644 --- a/helfi_platform_config.services.yml +++ b/helfi_platform_config.services.yml @@ -51,6 +51,7 @@ services: arguments: - '@entity_type.manager' - '@language_manager' + - '@router.admin_context' tags: - { name: event_subscriber } diff --git a/modules/hdbt_admin_tools/assets/css/menu.css b/modules/hdbt_admin_tools/assets/css/menu.css index 9d0348b31..43b8c92a7 100644 --- a/modules/hdbt_admin_tools/assets/css/menu.css +++ b/modules/hdbt_admin_tools/assets/css/menu.css @@ -11,3 +11,7 @@ [dir="ltr"] .gin--horizontal-toolbar .toolbar .toolbar-bar .toolbar-menu-administration > .toolbar-menu > .menu-item > .toolbar-box > .toolbar-icon:not(.toolbar-handle) { padding-right: 1em; } + +[dir="ltr"] .gin--horizontal-toolbar .toolbar .toolbar-bar .toolbar-menu-administration > .toolbar-menu > .menu-item > .toolbar-icon.is-active { + background-color: rgba(38,88,168,0.05); +} diff --git a/modules/helfi_ckeditor/config/install/editor.editor.full_html.yml b/modules/helfi_ckeditor/config/install/editor.editor.full_html.yml index 6a94adf39..c3a19c398 100644 --- a/modules/helfi_ckeditor/config/install/editor.editor.full_html.yml +++ b/modules/helfi_ckeditor/config/install/editor.editor.full_html.yml @@ -39,6 +39,11 @@ settings: - heading4 - heading5 - heading6 + ckeditor5_list: + properties: + reversed: false + startIndex: true + multiBlock: true ckeditor5_sourceEditing: allowed_tags: - '
' @@ -57,16 +62,13 @@ settings: - '
' - '
' - '
' - ckeditor5_list: - reversed: false - startIndex: true - linkit_extension: - linkit_enabled: true - linkit_profile: helfi helfi_ckeditor_helfi_link: helfi_link_attributes: - '' - '' + linkit_extension: + linkit_enabled: true + linkit_profile: helfi image_upload: status: false scheme: public diff --git a/modules/helfi_ckeditor/config/install/editor.editor.minimal.yml b/modules/helfi_ckeditor/config/install/editor.editor.minimal.yml index 4a6be98e2..27c4467bf 100644 --- a/modules/helfi_ckeditor/config/install/editor.editor.minimal.yml +++ b/modules/helfi_ckeditor/config/install/editor.editor.minimal.yml @@ -21,22 +21,24 @@ settings: - '|' - sourceEditing plugins: + ckeditor5_list: + properties: + reversed: false + startIndex: true + multiBlock: true ckeditor5_sourceEditing: allowed_tags: - '' - '