From e0598619129614feddc9160011480eafa15d957c Mon Sep 17 00:00:00 2001 From: Alin Voinea Date: Fri, 10 Sep 2021 18:00:31 +0300 Subject: [PATCH 1/2] Upgrade to 3.x.x --- README.md | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4cdd3294..12979739 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,20 @@ issues, the API starts to stabilize and we've already started several addons based on it: https://github.com/eea/volto-slate-metadata-mentions/ and https://github.com/eea/volto-slate-zotero +## Upgrades + +### Upgrade to 3.x.x + +* Removed all deprecated, already in Volto Core, `futurevolto` components: + * `SidebarPopup` + * `ObjectWidget` + * `ObjectBrowserWidget` + * `helpers/Blocks` +* Table `inline button` and `copy&paste` support is not installed by default anymore. + You'll need to explicitly import the `tableButton` profile like: + * `volto:asDefault,tableButton` + * `volto-slate:minimalDefault,simpleLink,tableButton` + ## Why Some of the main reasons that drove us to create volto-slate instead of @@ -46,13 +60,13 @@ enhancing Volto's draftjs implementation: volto-slate provides several optional configuration: -- `asDefault` which makes the volto-slate as the default richtext block editor -- `minimalDefault`, same as the above, but uses a set of toolbar buttons - similar to Volto -- `simpleLink` reuses Volto's link plugin and makes for a better replacement - of Volto's rich text editor. -- `tableButton` adds table button to Slate toolbar in order to easily insert - Table block after. +- `asDefault` - makes the volto-slate as the default Editor for `blocks` (and `richtext` widgets - not yet) +- `asDefaultBlock` - makes volto-slate the default Editor for `blocks` +- `asDefaultRichText` - makes volto-slate the default Editor for `richtext` widget (experimental) +- `minimalDefault`, same as the above, but uses a set of toolbar buttons similar to Volto +- `simpleLink` reuses Volto's link plugin and makes for a better replacement of Volto's rich text editor. +- `tableButton` adds table button to Slate toolbar in order to easily insert Table block after. + ## Features From 6cbca627587a8234d0ce31810428cc5b9c37da28 Mon Sep 17 00:00:00 2001 From: EEA Jenkins <@users.noreply.github.com> Date: Mon, 13 Sep 2021 12:24:28 +0000 Subject: [PATCH 2/2] Automated release 3.0.1 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8ae6b26..b946eb61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +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). +#### [3.0.1](https://github.com/eea/volto-slate/compare/3.0.0...3.0.1) + +- Upgrade to 3.x.x [`e059861`](https://github.com/eea/volto-slate/commit/e0598619129614feddc9160011480eafa15d957c) + #### [3.0.0](https://github.com/eea/volto-slate/compare/3.0.0-alpha.0...3.0.0) +> 10 September 2021 + +- Release 3.0.0 [`#150`](https://github.com/eea/volto-slate/pull/150) - Fix cypress api_url [`596cbfb`](https://github.com/eea/volto-slate/commit/596cbfbf1d1820c28faa1ea178ee05a2b6a72f9c) - Add Sonarqube tag using ims-frontend addons list [`a97689d`](https://github.com/eea/volto-slate/commit/a97689de4dc39186da03ed0b1216471d2e305764) diff --git a/package.json b/package.json index 4307d2f4..ed527397 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "volto-slate", - "version": "3.0.0", + "version": "3.0.1", "description": "Slate.js integration with Volto", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team",