datocms-plugin-full-preview-links

0.1.1 • Public • Published

Datocms Plugin Full Preview Links

A simple plugin that displays full preview links in the sidebar

Configuration

When applying this plugin to your field, please insert the following settings:

Plugin settings

  1. URL prefix of your site is required.
  2. Develop URL prefix of your test develop site is optional.
  3. Alias for Model, which will be used instead of Model ID is optional.

The full preview links are created from [URL prefix][locale][Model ID][slug] and look like https://sitename.netlify.com/en/advice/first-advice

Using

The result of plugin working appears in the sidebar:

Preview links in the sidebar

  1. Clicking on "Link on prod"/"Link on test server" opens these links in new tabs.
  2. Clicking on the button shows/hides the full preview link (e.g. for copying or checking).

Package Sidebar

Install

npm i datocms-plugin-full-preview-links

Weekly Downloads

1

Version

0.1.1

License

ISC

Unpacked Size

4.44 MB

Total Files

11

Last publish

Collaborators

  • elena_pavlova