https://github.com/BitBravo/netlify-cms-responsive-block-widget
Netlify CMS Iframe Widget
https://github.com/BitBravo/netlify-cms-responsive-block-widget
iframe iframe-embeds netlify-cms vimeo-video widget youtube-video
Last synced: 4 months ago
JSON representation
Netlify CMS Iframe Widget
- Host: GitHub
- URL: https://github.com/BitBravo/netlify-cms-responsive-block-widget
- Owner: BitBravo
- License: mit
- Created: 2019-04-26T18:10:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-27T09:02:48.000Z (about 5 years ago)
- Last Synced: 2025-06-25T22:41:23.408Z (4 months ago)
- Topics: iframe, iframe-embeds, netlify-cms, vimeo-video, widget, youtube-video
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-decap-cms - netlify-cms-responsive-block-widget - Netlify CMS Iframe Widget. (Custom Widget)
README
# Netlify-CMS-Responsive-Iframe-Widget
Adds a iframe widget to your editor allowing you to embed HTML contents, Youtube Video, Vimeo Video, and Images responsibly.
## Installation
```
npm install --save https://github.com/jsdev63/netlify-cms-responsive-block-widget.git
or
npm install --save netlify-cms-responsive-block-widget
```
## Usage
Within your `cms.js` file:
```js
import CMS from 'netlify-cms';
import ResponsiveIframeBlockEditorWidget from 'netlify-cms-responsive-block-widget';
CMS.registerEditorComponent(ResponsiveIframeBlockEditorWidget);
```
If you're using Gatsby you need to direct Netlify CMS to your `cms.js` file like this:
```js
...
{
resolve: 'gatsby-plugin-netlify-cms',
options: {
modulePath: `${__dirname}/src/cms/cms.js`
}
}
...
```