
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
netlify-cms-widget-superhero
Advanced tools
A Netlify CMS widget for superheroes. Super hero banners, that is.
Provides a simple text input for youtube videos. Validates strings with a green text color and provides a preview image in the preview pane.

As an npm package:
npm install --save netlify-cms-widget-youtube
import youtube from "netlify-cms-widget-youtube";
CMS.registerWidget("youtube", youtubeControl, youtubePreview);
Via script tag:
<script src="https://unpkg.com/netlify-cms-widget-youtube@^0.3.0"></script>
<script>
CMS.registerWidget('youtube', youtubeControl, youtubePreview)
</script>
Add to your Netlify CMS configuration:
fields:
- { name: <fieldname>, label: <fieldlabel>, widget: youtube, extraInfo: false, APIkey: "<KEY>" }
Enabling extraInfo will return an object in frontmatter
<fieldname>:
url: String
id: String
mediaType: String
imageURL: String
If you provide an API KEY in the configuration you will get additional information in the Control (as seen in the screenshot above). You can use this API key here to test but it's better you get your own to make sure it always works!
You need to add an API Key to the widget settings. Learn about getting an API Key here
You need to add extraInfo: true to your Netlify CMS configuration (usually config.yml)
For help with this widget, open an issue or ask the Netlify CMS community in Gitter.
FAQs
A Netlify CMS widget for superheroes. Super hero banners, that is.
The npm package netlify-cms-widget-superhero receives a total of 2 weekly downloads. As such, netlify-cms-widget-superhero popularity was classified as not popular.
We found that netlify-cms-widget-superhero demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.