@eeacms/volto-eea-website-policy 1.2.0 → 1.2.2
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 +10 -1
- package/package.json +1 -1
- package/src/index.js +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +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
|
-
### [1.
|
|
7
|
+
### [1.2.2](https://github.com/eea/volto-eea-website-policy/compare/1.2.1...1.2.2) - 25 January 2023
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- Safely set extractScripts.errorPages [Alin Voinea - [`439fb46`](https://github.com/eea/volto-eea-website-policy/commit/439fb46167aa24fe1ae87c1721894aceb89a1a55)]
|
|
12
|
+
- Enable scripts on error pages [Alin Voinea - [`4ff0be7`](https://github.com/eea/volto-eea-website-policy/commit/4ff0be72ebbc7a1505104448765e07013148f88c)]
|
|
13
|
+
### [1.2.1](https://github.com/eea/volto-eea-website-policy/compare/1.2.0...1.2.1) - 29 December 2022
|
|
14
|
+
|
|
15
|
+
### [1.2.0](https://github.com/eea/volto-eea-website-policy/compare/1.1.0...1.2.0) - 28 December 2022
|
|
8
16
|
|
|
9
17
|
#### :rocket: New Features
|
|
10
18
|
|
|
@@ -12,6 +20,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
12
20
|
|
|
13
21
|
#### :hammer_and_wrench: Others
|
|
14
22
|
|
|
23
|
+
- Release 1.2.0 [Alin Voinea - [`81c4e67`](https://github.com/eea/volto-eea-website-policy/commit/81c4e673ab5e40dd06ebd023e111f4e4e01bd316)]
|
|
15
24
|
- test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`1d391dc`](https://github.com/eea/volto-eea-website-policy/commit/1d391dccfc63f2c6def50775da164c8e5b9f51d6)]
|
|
16
25
|
### [1.1.0](https://github.com/eea/volto-eea-website-policy/compare/1.0.4...1.1.0) - 29 November 2022
|
|
17
26
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -14,6 +14,11 @@ const applyConfig = (config) => {
|
|
|
14
14
|
// Callout slate button
|
|
15
15
|
config = installCallout(config);
|
|
16
16
|
|
|
17
|
+
// Insert scripts on Error pages
|
|
18
|
+
if (config.settings?.serverConfig?.extractScripts) {
|
|
19
|
+
config.settings.serverConfig.extractScripts.errorPages = true;
|
|
20
|
+
}
|
|
21
|
+
|
|
17
22
|
// Remove blockquote slate button
|
|
18
23
|
config.settings.slate.toolbarButtons = config.settings.slate.toolbarButtons.filter(
|
|
19
24
|
(item) => item !== 'blockquote',
|