diff --git a/app/components/SimpleEditor/config.js b/app/components/SimpleEditor/config.js index 2c092e15b05054985031140d19df461d51e24ec6..9e10c5c5ac324e5f574f335b266389c0ade53a5a 100644 --- a/app/components/SimpleEditor/config.js +++ b/app/components/SimpleEditor/config.js @@ -1,7 +1,7 @@ import { BasePackage, // BlockquotePackage, - CodePackage, + // CodePackage, EmphasisPackage, HeadingPackage, LinkPackage, @@ -10,7 +10,7 @@ import { PersistencePackage, ProseArticle, SpellCheckPackage, - StrongPackage, + // StrongPackage, SubscriptPackage, SuperscriptPackage } from 'substance' @@ -25,7 +25,7 @@ import NotePackage from './elements/note/NotePackage' import SourceNotePackage from './elements/source_note/SourceNotePackage' import TrackChangePackage from './elements/track_change/TrackChangePackage' -let config = { +const config = { name: 'simple-editor', configure: (config, options) => { config.defineSchema({ @@ -41,10 +41,10 @@ let config = { config.import(ParagraphPackage) config.import(HeadingPackage) config.import(EmphasisPackage) - config.import(StrongPackage) + // config.import(StrongPackage) config.import(SubscriptPackage) config.import(SuperscriptPackage) - config.import(CodePackage) + // config.import(CodePackage) config.import(PersistencePackage) // config.import(CodeblockPackage)