Skip to content

Commit

Permalink
Upgrade footnotes registry to work with volto-slate-footnotes 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed May 19, 2022
1 parent f0a94ac commit 3261f27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Blocks/Quote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export default (config) => {
};

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

return config;
};

0 comments on commit 3261f27

Please sign in to comment.