mozaik-ext-embedflowscape
v0.2.3
Published
Mozaik extension for embedding things like HTML in widget
Maintainers
Readme
mozaik-ext-embed
Embded content like HTML markup into widget. Handy to adding ambiguous content like raw HTML (iframe, html video etc.)
Setup
- Navigate into dashboard directory
- Install dependencies
npm i -S mozaik-ext-embedflowscape- Register widget:
./src/App.jsx
import embed from 'mozaik-ext-embedflowscape';
Mozaik.Registry.addExtensions({ embed });- Build dashboard
gulp build- Restart dashboard
npm startWidgets
Markup (embed.markup)
Show custom markup in widget

parameters
key | required | description
----------|----------|--------------------------
content | yes | html content
title | no | widget title value
usage
{
type: 'embed.markup',
title: 'Live feed',
content: '<iframe src="http://livefeed.com/"></iframe>',
columns: 1, rows: 1, x: 0, y: 0
}Development
Link peer dependencies (wherever you have 'em):
npm link ../mozaik
npm link ../mozaik/node_modules/reactlicense
MIT
