include mediaproxy block

This commit is contained in:
Cássio Zen 2016-08-23 15:25:44 -03:00
parent b4f3a38bd5
commit fd79381160

View File

@ -42,7 +42,7 @@ class VisualEditor extends React.Component {
let rawJson;
if (props.value !== undefined) {
const content = this.markdown.toContent(props.value);
rawJson = SlateUtils.encode(content, null, getPlugins().map(plugin => plugin.id));
rawJson = SlateUtils.encode(content, null, ['mediaproxy'].concat(getPlugins().map(plugin => plugin.id)));
} else {
rawJson = emptyParagraphBlock;
}