include mediaproxy block
This commit is contained in:
parent
b4f3a38bd5
commit
fd79381160
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user