@eeacms/volto-eea-website-policy 2.6.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [2.7.0](https://github.com/eea/volto-eea-website-policy/compare/2.6.0...2.7.0) - 3 December 2025
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat: Add option to exclude counting chars in specific blocks in group-block - refs #293783 [Teodor Voicu - [`cecfb56`](https://github.com/eea/volto-eea-website-policy/commit/cecfb5636f75b131b2b150ead90827e5338bc9fc)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - Release 2.7.0 [Alin Voinea - [`351d759`](https://github.com/eea/volto-eea-website-policy/commit/351d75995c0327e4f8e59e447d4ec6ceaf15de7b)]
7
16
  ### [2.6.0](https://github.com/eea/volto-eea-website-policy/compare/2.5.1...2.6.0) - 6 August 2025
8
17
 
9
18
  #### :nail_care: Enhancements
@@ -12,7 +21,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
12
21
 
13
22
  #### :hammer_and_wrench: Others
14
23
 
15
- - Release 2.6.0 [alin - [`c1ad9aa`](https://github.com/eea/volto-eea-website-policy/commit/c1ad9aab4fcaf3b58618b379603fbd4fb4793144)]
16
24
  ### [2.5.1](https://github.com/eea/volto-eea-website-policy/compare/2.5.0...2.5.1) - 7 July 2025
17
25
 
18
26
  #### :nail_care: Enhancements
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-policy",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "@eeacms/volto-eea-website-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/src/index.js CHANGED
@@ -173,6 +173,13 @@ const applyConfig = (config) => {
173
173
  // Custom widgets
174
174
  config.widgets.views.id.frequency_of_dissemination = FrequencyOfDissemination;
175
175
 
176
+ // Group block: Skip figure-metadata groups when counting characters
177
+ if (config.blocks.blocksConfig.group) {
178
+ config.blocks.blocksConfig.group.skipBlocksInGroups = [
179
+ { className: 'figure-metadata' },
180
+ ];
181
+ }
182
+
176
183
  // Subsite
177
184
  config.settings.apiExpanders = [
178
185
  ...config.settings.apiExpanders,