Skip to content

Commit

Permalink
Merge pull request #4 from eea/develop
Browse files Browse the repository at this point in the history
Update description block to work with footnotes 5.x
  • Loading branch information
avoinea authored May 19, 2022
2 parents d23e4c7 + 074da1a commit c22c327
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [0.2.0](https://github.com/eea/volto-description-block/compare/0.1.3...0.2.0)

- Update description block to work with footnotes 5.x [`eb6b820`](https://github.com/eea/volto-description-block/commit/eb6b8202c901720b97c638f3b492ccb8492bee7a)

#### [0.1.3](https://github.com/eea/volto-description-block/compare/0.1.2...0.1.3)

- Fix description block to work also with footnotes [`f9a1464`](https://github.com/eea/volto-description-block/commit/f9a14645d56a2048c553474eefcd254f5e2cef16)
> 17 May 2022
- Fix description block to work also with footnotes [`#3`](https://github.com/eea/volto-description-block/pull/3)

#### [0.1.2](https://github.com/eea/volto-description-block/compare/0.1.1...0.1.2)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-description-block",
"version": "0.1.3",
"version": "0.2.0",
"description": "@eeacms/volto-description-block: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
8 changes: 4 additions & 4 deletions src/DescriptionBlock/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export default (config) => {
};

// Footnotes
config.settings.blocksWithFootnotes = [
...(config.settings.blocksWithFootnotes || []),
'description',
];
config.settings.blocksWithFootnotesSupport = {
...(config.settings.blocksWithFootnotesSupport || {}),
description: ['value'],
};

return config;
};

0 comments on commit c22c327

Please sign in to comment.