Fixed formatting of richText.js
This commit is contained in:
parent
3e22b13612
commit
d351f10a9b
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user