Skip to content

Commit

Permalink
Merge pull request #251 from eea/develop
Browse files Browse the repository at this point in the history
fix(slate): don't customize slate li element, ref #269872
  • Loading branch information
avoinea authored Aug 1, 2024
2 parents f8d19a7 + 10e5d1d commit fec0105
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ 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).

### [2.1.4](https://github.com/eea/volto-eea-website-theme/compare/2.1.3...2.1.4) - 30 July 2024

#### :bug: Bug Fixes

- fix(slate): don't customize slate li element, ref #269872 [Miu Razvan - [`945afa5`](https://github.com/eea/volto-eea-website-theme/commit/945afa5c1076de4779d46f602300a61adf41937d)]

### [2.1.3](https://github.com/eea/volto-eea-website-theme/compare/2.1.2...2.1.3) - 22 July 2024

### [2.1.2](https://github.com/eea/volto-eea-website-theme/compare/2.1.1...2.1.2) - 14 June 2024
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-eea-website-theme",
"version": "2.1.3",
"version": "2.1.4",
"description": "@eeacms/volto-eea-website-theme: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
6 changes: 0 additions & 6 deletions src/slate.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,6 @@ export default function installSlate(config) {
</List>
);

config.settings.slate.elements.li = ({ attributes, children }) => (
<List.Item as="li" {...attributes}>
{children}
</List.Item>
);

config.settings.slate.allowedHeadlineElements.push('zotero');

// Slate StyleMenu configuration
Expand Down

0 comments on commit fec0105

Please sign in to comment.