@eeacms/volto-bise-policy 1.2.26 → 1.2.27

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,11 +4,13 @@ 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
- ### [1.2.26](https://github.com/eea/volto-bise-policy/compare/1.2.25...1.2.26) - 28 October 2025
7
+ ### [1.2.27](https://github.com/eea/volto-bise-policy/compare/1.2.26...1.2.27) - 30 October 2025
8
8
 
9
9
  #### :rocket: New Features
10
10
 
11
- - feat: added colors for Marine EUNIS habitat groups [laszlocseh - [`ccfce3f`](https://github.com/eea/volto-bise-policy/commit/ccfce3f242a2a00e4c5118a5332cb59f1b9fdb39)]
11
+ - feat: added italic to slate toolbar + other styling improvements for eunis marine habitats layout [laszlocseh - [`62cf803`](https://github.com/eea/volto-bise-policy/commit/62cf803a7171f7437a790f5daa75a86b17d0f126)]
12
+
13
+ ### [1.2.26](https://github.com/eea/volto-bise-policy/compare/1.2.25...1.2.26) - 28 October 2025
12
14
 
13
15
  ### [1.2.25](https://github.com/eea/volto-bise-policy/compare/1.2.24...1.2.25) - 23 October 2025
14
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-bise-policy",
3
- "version": "1.2.26",
3
+ "version": "1.2.27",
4
4
  "description": "@eeacms/volto-bise-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -92,6 +92,10 @@ const config = (config) => {
92
92
  { cssClass: 'yellow-text', label: 'Yellow text' },
93
93
  { cssClass: 'grey-text', label: 'Grey text' },
94
94
  ];
95
+ config.settings.slate.toolbarButtons = [
96
+ 'italic',
97
+ ...(config.settings.slate.toolbarButtons || []),
98
+ ];
95
99
 
96
100
  config.settings.pluggableStyles = [
97
101
  ...(config.settings.pluggableStyles || []),
@@ -0,0 +1,20 @@
1
+ .contenttype-marine_eunis_habitat .slate_wysiwyg_box[role="textbox"] {
2
+ margin: 0;
3
+ max-width: 100%;
4
+ flex: 1 0 auto;
5
+ outline: none;
6
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
7
+ text-align: left;
8
+ line-height: 1.21428571em;
9
+ font-family: Roboto, Arial, Helvetica Neue, Helvetica, sans-serif;
10
+ padding: .64285714em 1.125em;
11
+ background: #fff;
12
+ border: 1px solid #bcbec0;
13
+ border-radius: 0;
14
+ transition: box-shadow .1s ease, border-color .1s ease;
15
+ box-shadow: none;
16
+ }
17
+
18
+ .contenttype-marine_eunis_habitat .help.slate_wysiwyg p.help {
19
+ white-space: break-spaces;
20
+ }
@@ -38,6 +38,7 @@ body {
38
38
  @import '../extras/tocnav';
39
39
  @import './helpers';
40
40
  @import './natura2000';
41
+ @import './eunismarinehabitat';
41
42
 
42
43
  // :root {
43
44
  // .define-color(primary, #005248);