diff --git a/.gitignore b/.gitignore index cdcd937..e2c375a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,8 @@ .settings/ .vscode *~ -acceptance/cypress/videos/ -acceptance/node_modules +cypress/videos/ +node_modules .storybook-build build core diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ed8c3cb --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,111 @@ +# kitconcept's volto-heading-block Release Notes + + + + + +## 2.4.0 (2023-09-14) + +### Feature + +- Update docker and CI config @sneridagh [#18](https://github.com/kitconcept/volto-export/pull/18) + +### Bugfix + +- Remove anonymous default export @sneridagh [#16](https://github.com/kitconcept/volto-export/pull/16) + + +## 2.3.0 (2023-06-06) + +### Feature + +- Add Brazilian Portuguese translation @ericof [#14](https://github.com/kitconcept/volto-export/pull/14) + + +## 2.2.0 (2023-02-20) + +### Feature + +- Move to the new add-on testing based on docker @sneridagh [#13](https://github.com/kitconcept/volto-export/pull/13) + +### Bugfix + +- Fix decoding of html entities @reebalazs [#10](https://github.com/kitconcept/volto-export/pull/10) +- Include headings in the volto Table of Contents block. @danalvrz [#12](https://github.com/kitconcept/volto-export/pull/12) + + +## 2.1.2 (2022-09-12) + +### Bugfix + +- Fix copied and pasting from heading block to heading block will create html for antother heading block inside the one pasted in @jackahl + +## 2.1.1 (2022-08-29) + +### Bugfix + +- Fix editor can't add a blank in firefox @iFlameing + +## 2.1.0 (2022-07-22) + +### Feature + +- Remove option to chose heading order when only one heading type is selected @kindermann + +## 2.0.1 (2022-06-02) + +### Bugfix + +- Fix default value for heading text @sneridagh +- Move the type of block to `text` group @sneridagh +- Cleanup if html is pasted, convert it to plain text @sneridagh +- Add inner container to edit mode @sneridagh + +## 2.0.0 (2022-05-26) + +### Breaking + +- Overhauled the `Edit` component now it's class-styled since `react-contenteditable` and the `content-editable` browser feature has some problems with the functional lifecycle @sneridagh + +### Feature + +- Better self-focus management @sneridagh +- Add support for new Volto 16 styling wrapper @sneridagh + +### Bugfix + +- Do not allow line breaks @sneridagh + +### Internal + +- Remove from npm packaging `README` resources @sneridagh + +## 1.0.0 (2022-04-22) + +### Bugfix + +- Fix heading block @iRohitSingh + +### Internal + +- Added github workflows @robgietema + +## 1.0.0-alpha.1 (2021-10-23) + +### Feature + +- Always center by default the heading @sneridagh + +### Bugfix + +- Fix bug in `View` because the default is not set @sneridagh + +## 1.0.0-alpha.0 (2021-10-21) + +### Feature + +- Initial release @sneridagh @tisto diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..30e76d6 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,9 @@ +# Contributing + +We welcome all contributions! You can contribute to this package by: + +- creating a _bug ticket_ to report an issue -> https://github.com/kitconcept/volto-heading-block/issues/new +- create a _pull request_ to improve the package or fix a bug -> https://github.com/kitconcept/volto-heading-block/pulls + +You can create a fork of this repo any time. If you plan to become a continous contributor, feel free to file a ticket to ask for write permissions on the repo. +In the long run, we might move this repo to the Plone collective to give more people direct access. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9a6bfce --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 kitconcept GmbH + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Makefile b/Makefile index 5c085ee..cdc952c 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,7 @@ DOCKER_IMAGE=plone/server-dev:${PLONE_VERSION} DOCKER_IMAGE_ACCEPTANCE=plone/server-acceptance:${PLONE_VERSION} ADDON_NAME='@kitconcept/volto-heading-block' +ADDON_PATH='volto-heading-block' .PHONY: help help: ## Show this help diff --git a/README.md b/README.md index 037fa0d..b17a230 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,21 @@ A heading block for Volto [![Code analysis checks](https://github.com/kitconcept/volto-heading-block/actions/workflows/code.yml/badge.svg)](https://github.com/kitconcept/volto-heading-block/actions/workflows/code.yml) [![Unit tests](https://github.com/kitconcept/volto-heading-block/actions/workflows/unit.yml/badge.svg)](https://github.com/kitconcept/volto-heading-block/actions/workflows/unit.yml) +![kitconcept GmbH](https://github.com/kitconcept/volto-blocks/raw/master/kitconcept.png) + +The Volto Heading Block allows editors to add a heading to a Volto page. + + ## Features +## Screenshot + +![Heading-Block](https://github.com/kitconcept/volto-heading-block/raw/master/screenshot.png) + +## Screencast + +![Heading-Block](https://github.com/kitconcept/volto-heading-block/raw/master/screencast.gif) ## Installation diff --git a/package.json b/package.json index 5f498ca..626719c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@kitconcept/volto-heading-block-dev", - "version": "1.0.0-alpha.0", + "name": "@kitconcept/volto-heading-block", + "version": "2.4.0", "description": "volto-heading-block: Volto add-on that provides a configurable heading block", "author": "kitconcept, GmbH", "homepage": "https://github.com/kitconcept/volto-heading-block", diff --git a/packages/volto-heading-block/package.json b/packages/volto-heading-block/package.json index 0dd1b40..1f4ae09 100644 --- a/packages/volto-heading-block/package.json +++ b/packages/volto-heading-block/package.json @@ -1,6 +1,6 @@ { "name": "@kitconcept/volto-heading-block", - "version": "1.0.0-alpha.0", + "version": "2.4.0", "description": "volto-heading-block: Volto add-on that provides a configurable heading block", "main": "src/index.js", "license": "MIT", diff --git a/screencast.gif b/screencast.gif new file mode 100644 index 0000000..80361d9 Binary files /dev/null and b/screencast.gif differ diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..d467d5e Binary files /dev/null and b/screenshot.png differ