@eeacms/volto-slate-footnote 3.2.0 → 4.0.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 +8 -0
- package/Jenkinsfile +1 -1
- package/package.json +1 -1
- package/src/editor/FootnoteEditor.jsx +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,16 @@ 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
|
+
#### [4.0.0](https://github.com/eea/volto-slate-footnote/compare/3.2.0...4.0.0)
|
|
8
|
+
|
|
9
|
+
- Use new slate namespaced pluginids [`#23`](https://github.com/eea/volto-slate-footnote/pull/23)
|
|
10
|
+
- Add Sonarqube tag using climate-energy-frontend addons list [`80a159b`](https://github.com/eea/volto-slate-footnote/commit/80a159bb67698cddedadc494e7ae2da32a96faea)
|
|
11
|
+
|
|
7
12
|
#### [3.2.0](https://github.com/eea/volto-slate-footnote/compare/3.1.1...3.2.0)
|
|
8
13
|
|
|
14
|
+
> 13 September 2021
|
|
15
|
+
|
|
16
|
+
- Release Multiple citations (#20) [`#21`](https://github.com/eea/volto-slate-footnote/pull/21)
|
|
9
17
|
- Multiple citations [`#20`](https://github.com/eea/volto-slate-footnote/pull/20)
|
|
10
18
|
- Release 3.2.0 [`6795fcd`](https://github.com/eea/volto-slate-footnote/commit/6795fcd1a4fc429bb70334fbdfa2cb0eedd748fa)
|
|
11
19
|
|
package/Jenkinsfile
CHANGED
|
@@ -4,7 +4,7 @@ pipeline {
|
|
|
4
4
|
environment {
|
|
5
5
|
GIT_NAME = "volto-slate-footnote"
|
|
6
6
|
NAMESPACE = "@eeacms"
|
|
7
|
-
SONARQUBE_TAGS = "volto.eea.europa.eu,biodiversity.europa.eu,www.eea.europa.eu-ims"
|
|
7
|
+
SONARQUBE_TAGS = "volto.eea.europa.eu,biodiversity.europa.eu,www.eea.europa.eu-ims,climate-energy.eea.europa.eu"
|
|
8
8
|
DEPENDENCIES = ""
|
|
9
9
|
}
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -23,6 +23,7 @@ const FootnoteEditor = (props) => {
|
|
|
23
23
|
onChangeValues,
|
|
24
24
|
} = props;
|
|
25
25
|
const dispatch = useDispatch();
|
|
26
|
+
const pid = `${editor.uid}-${pluginId}`;
|
|
26
27
|
const [formData, setFormData] = React.useState({});
|
|
27
28
|
const active = getActiveElement(editor);
|
|
28
29
|
|
|
@@ -157,7 +158,7 @@ const FootnoteEditor = (props) => {
|
|
|
157
158
|
onClick={() => {
|
|
158
159
|
saveDataToEditor(formData);
|
|
159
160
|
dispatch(
|
|
160
|
-
setPluginOptions(
|
|
161
|
+
setPluginOptions(pid, {
|
|
161
162
|
show_sidebar_editor: false,
|
|
162
163
|
}),
|
|
163
164
|
);
|
|
@@ -170,7 +171,7 @@ const FootnoteEditor = (props) => {
|
|
|
170
171
|
onClick={() => {
|
|
171
172
|
checkForCancel();
|
|
172
173
|
dispatch(
|
|
173
|
-
setPluginOptions(
|
|
174
|
+
setPluginOptions(pid, {
|
|
174
175
|
show_sidebar_editor: false,
|
|
175
176
|
}),
|
|
176
177
|
);
|