Fixed formatting of richText.js

This commit is contained in:
Andrey Okonetchnikov 2016-09-22 10:03:02 +02:00
parent 3e22b13612
commit d351f10a9b

View File

@ -15,7 +15,6 @@ import { Icon } from '../UI';
let processedPlugins = List([]); let processedPlugins = List([]);
const nodes = {}; const nodes = {};
let augmentedMarkdownSyntax = markdownSyntax; let augmentedMarkdownSyntax = markdownSyntax;
let augmentedHTMLSyntax = htmlSyntax; let augmentedHTMLSyntax = htmlSyntax;
@ -111,9 +110,11 @@ function processMediaProxyPlugins(getMedia) {
} }
function getPlugins() { function getPlugins() {
return processedPlugins.map(plugin => ( return processedPlugins.map(plugin => ({
{ id: plugin.id, icon: plugin.icon, fields: plugin.fields } id: plugin.id,
)).toArray(); icon: plugin.icon,
fields: plugin.fields
})).toArray();
} }
function getNodes() { function getNodes() {