@buzzbrothers/datocms-plugin-buzz-link
v0.0.2
Published
This plugin allows you to simply create some links to some dato model entries or to external URLs with some options like id and target
Readme
DatoCMS Plugin Buzz Link
This plugin allows you to simply create some links to some dato model entries or to external URLs with some options like id and target.

Features
- Support Dato models linking
- Support custom URL's
- Support custom link text
- Support target
_self,_blank
Usage
To create a media grid, simply follow these steps:
- Add a
JSONfield - Under
Presentation, chooseLink - Click on
Save field

JSON output
The output of this plugin is a simple JSON that is structured like so:
{
"id": "...", // optional id specified in the editor
"title": "...",
"text": "...",
"url": "...", // same as href (for convinience)
"href": "...", // same as url (for convinience)
"target": "_self", // _self or _blank
"recordId": "...",
"type": "..." // Dato model __typename like "PageRecord", etc...
}