@eeacms/volto-bise-policy 1.2.15 → 1.2.17
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,7 +4,23 @@ 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.
|
|
7
|
+
### [1.2.17](https://github.com/eea/volto-bise-policy/compare/1.2.16...1.2.17) - 23 May 2025
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix(toc): padding on ul items [nileshgulia1 - [`c510eb9`](https://github.com/eea/volto-bise-policy/commit/c510eb951a6a7f867e4b667363d65ba4d521a188)]
|
|
12
|
+
|
|
13
|
+
### [1.2.16](https://github.com/eea/volto-bise-policy/compare/1.2.15...1.2.16) - 22 May 2025
|
|
14
|
+
|
|
15
|
+
#### :house: Internal changes
|
|
16
|
+
|
|
17
|
+
- style: Automated code fix [eea-jenkins - [`d8c804b`](https://github.com/eea/volto-bise-policy/commit/d8c804bf431668610d5915f3b6359cb71eb33a6f)]
|
|
18
|
+
- style: Automated code fix [eea-jenkins - [`3281da4`](https://github.com/eea/volto-bise-policy/commit/3281da44f5fa9e445520b9fdbeb21d97d6975841)]
|
|
19
|
+
|
|
20
|
+
#### :hammer_and_wrench: Others
|
|
21
|
+
|
|
22
|
+
- renamed formatters to dataFormatters [vladcalin-edw - [`c8d8f9f`](https://github.com/eea/volto-bise-policy/commit/c8d8f9fd3e570ba8e4052be057a8a458f468e161)]
|
|
23
|
+
### [1.2.15](https://github.com/eea/volto-bise-policy/compare/1.2.14...1.2.15) - 19 May 2025
|
|
8
24
|
|
|
9
25
|
#### :rocket: New Features
|
|
10
26
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { compose } from 'redux';
|
|
3
|
+
import { injectIntl } from 'react-intl';
|
|
3
4
|
import { SidebarPortal } from '@plone/volto/components'; // EditBlock
|
|
4
5
|
import InlineForm from '@plone/volto/components/manage/Form/InlineForm';
|
|
5
6
|
import config from '@plone/volto/registry';
|
|
@@ -60,6 +61,7 @@ class Edit extends Component {
|
|
|
60
61
|
typeof templateSchema === 'function'
|
|
61
62
|
? templateSchema(config)
|
|
62
63
|
: templateSchema,
|
|
64
|
+
this.props.intl,
|
|
63
65
|
);
|
|
64
66
|
|
|
65
67
|
// TODO: create picker for columns to include
|
|
@@ -105,7 +107,7 @@ const EditWrapper = compose(
|
|
|
105
107
|
},
|
|
106
108
|
};
|
|
107
109
|
}),
|
|
108
|
-
)(Edit);
|
|
110
|
+
)(injectIntl(Edit));
|
|
109
111
|
|
|
110
112
|
const $Edit = (props) => {
|
|
111
113
|
return (
|
package/src/index.js
CHANGED
|
@@ -117,6 +117,13 @@ const applyConfig = (config) => {
|
|
|
117
117
|
},
|
|
118
118
|
};
|
|
119
119
|
// BISE config
|
|
120
|
+
|
|
121
|
+
config.settings.dataFormatters = {
|
|
122
|
+
squareBracketsToItalic: (value) => {
|
|
123
|
+
return value.replace(/\[(.*?)\]/g, '<em>$1</em>');
|
|
124
|
+
},
|
|
125
|
+
};
|
|
126
|
+
|
|
120
127
|
config.settings.bise = {
|
|
121
128
|
subsites: [
|
|
122
129
|
{
|
package/theme/extras/tocnav.less
CHANGED