npm.io
9.0.1 • Published 7 months ago

@eeacms/volto-slate-metadata-mentions

Licence
MIT
Version
9.0.1
Deps
0
Vulns
0
Weekly
0
Stars
2

volto-slate-metadata-mentions

Releases

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Volto Slate Metadata Mentions

Features

Dynamically insert any Document metadata within your slate text blocks

Insert metadata

Combine multiple metadata in one slate text block

Combine multiple metadata

Apply styles

Style metadata entries

Preview metadata

Preview metadata

Easily locate and edit metadata within the right sidebar

Edit

Upgrade

Upgrading to 6.x

This version requires: @plone/volto >= 16.0.0.alpha.15 (volto-slate part of Volto Core).

See also

Getting started

Try volto-slate-metadata-mentions with Docker
  git clone https://github.com/eea/volto-slate-metadata-mentions.git
  cd volto-slate-metadata-mentions
  make
  make start

Go to http://localhost:3000

make start now defaults to Volto 18. To run the same setup against Volto 17, use:

  VOLTO_VERSION=17 make
  VOLTO_VERSION=17 make start
Add volto-slate-metadata-mentions to your Volto project
  1. Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone

    docker compose up backend
  2. Start Volto frontend

  • If you already have a volto project, just update package.json:

    "dependencies": {
        "@eeacms/volto-slate-metadata-mentions": "*"
    }

    and volto.config.js:

    const addons = ['@eeacms/volto-slate-metadata-mentions'];
  • If not, create one with Cookieplone, as recommended by the official Plone documentation for Volto 18+:

    uvx cookieplone project
    cd project-title
  1. Install or update dependencies, then start the project:

    make install

    For a Cookieplone project, start the backend and frontend in separate terminals:

    make backend-start
    make frontend-start

    For a legacy Volto 17 project, install the package with yarn and restart the frontend as usual.

  2. Go to http://localhost:3000

  3. Happy editing!

Release

See RELEASE.md.

How to contribute

See DEVELOP.md.

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

See LICENSE.md for details.

Funding

European Environment Agency (EU)

Keywords