Skip to content

kitconcept/volto-quote-block

Repository files navigation

Volto Quote Block

NPM Build Status Build Status Build Status

kitconcept GmbH

The Volto Quote Block allows editors to add a quote to a Volto page.

Installation

Create a new Volto project (you can skip this step if you already have one):

npm install -g yo @plone/generator-volto
yo @plone/volto my-volto-project --addon @kitconcept/volto-quote-block
cd my-volto-project

Add @kitconcept/volto-quote-blockto your package.json:

"addons": [
    "@kitconcept/volto-quote-block"
],

"dependencies": {
    "@kitconcept/volto-quote-block": "*"
}

Download and install the new add-on by running:

yarn install

Start Volto with:

yarn start

Go to http://localhost:3000, login, create a new page. The quote block will show up in the Volto blocks chooser.

Block configuration

showImageField

This option will enable an image and an alignment widget in the block settings, allowing you to add an image to your quote block and align it, left, right and centered to the quote. By default this option is set to true.

config.blocks.blocksConfig.quote.showImageField = true;

Credits

Deutsches Zentrum für Luft- und Raumfahrt (DLR)

The development of this plugin has been kindly sponsored by Deutsches Zentrum für Luft- und Raumfahrt (DLR).

License

The project is licensed under the MIT license.