X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/7b7f19b8680ed7653359bede5833d2cffc11ef8c..ac08344e45e2d8f2aaa19fa022a279226117ce13:/src/editor/plugins/core/canvasElements.js diff --git a/src/editor/plugins/core/canvasElements.js b/src/editor/plugins/core/canvasElements.js index ab3332e..ba72c03 100644 --- a/src/editor/plugins/core/canvasElements.js +++ b/src/editor/plugins/core/canvasElements.js @@ -5,7 +5,8 @@ define(function(require) { var $ = require('libs/jquery'), genericElement = require('modules/documentCanvas/canvas/genericElement'), // TODO: This should be accessible via plugin infrastructure linkElement = require('./links/linkElement'), - imgElement = require('./img/imgElement') + imgElement = require('./img/imgElement'), + videoElement = require('./video/videoElement') ; var widgets = { @@ -116,7 +117,8 @@ return [ {tag: 'aside', klass: 'comment', prototype: null}, {tag: 'aside', klass: 'footnote', prototype: footnote}, {tag: 'span', klass: 'link', prototype: linkElement}, - {tag: 'div', klass: 'img', prototype: imgElement} + {tag: 'div', klass: 'img', prototype: imgElement}, + {tag: 'div', klass: 'video', prototype: videoElement} ];