1.0.2 • Published 9 months ago

datocms-plugin-everything-svg v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

DatoCMS plugin: Everything SVG

This DatoCMS plugin lets you upload SVGs to your DatoCMS project and select the raw SVG it in your models. This way you can have the raw SVG and fetch it from DatoCMS from a text or string field.

npm.io

Features

  • Add raw SVGs
  • Upload SVG to media library
  • Fetch raw SVG
  • Name your SVG
  • Fetch from a string or text field

Configuration

First add this plugin via DatoCMS Settings > Plugins > Add (/admin/plugins/new).

Plugin settings

For this plugin you can configure global settings and configure the plugin per field. The global settings are for the SVG uploader and the field settings are for the SVG selector.

Global Settings

npm.io

With these settings you can choose the page location of the SVG uploader.

SVG uploader

npm.io

Upload you SVG and choose if you want to add it in the media library.

Select an uploaded item to see details of the that item: npm.io

Field Settings

npm.io

Select the SVGs an editor can select. Those are selectable on the field you have added the SVG Selector to.

npm.io

Contributing

See contributing.md.