Skip to content
Snippets Groups Projects
Commit 4b76649f authored by chris's avatar chris
Browse files

cleanup config

parent 9dec013d
No related branches found
No related tags found
1 merge request!313Fill the gap
import { emDash, ellipsis } from 'prosemirror-inputrules';
import { debounce } from 'lodash';
import { columnResizing, tableEditing } from 'prosemirror-tables';
import {
InlineAnnotationsService,
......@@ -19,28 +18,17 @@ import {
FullScreenToolGroupService,
SpecialCharactersService,
SpecialCharactersToolGroupService,
HighlightService,
TextHighlightToolGroupServices,
EditorInfoToolGroupServices,
BottomInfoService,
TransformService,
TransformToolGroupService,
} from 'wax-prosemirror-services';
/* Questions Services */
import MultipleChoiceQuestionService from '../MultipleChoiceQuestionService/MultipleChoiceQuestionService';
import QuestionsToolGroupService from '../QuestionsToolGroupService/QuestionsToolGroupService';
import { DefaultSchema } from 'wax-prosemirror-utilities';
import { WaxSelectionPlugin } from 'wax-prosemirror-plugins';
import invisibles, { hardBreak } from '@guardian/prosemirror-invisibles';
import invisibles, {
space,
hardBreak,
paragraph,
} from '@guardian/prosemirror-invisibles';
/* Questions Services */
import MultipleChoiceQuestionService from '../MultipleChoiceQuestionService/MultipleChoiceQuestionService';
import QuestionsToolGroupService from '../QuestionsToolGroupService/QuestionsToolGroupService';
export default {
MenuService: [
......@@ -58,11 +46,8 @@ export default {
'StrikeThrough',
],
},
'HighlightToolGroup',
'TransformToolGroup',
'Lists',
'Images',
'SpecialCharacters',
'Tables',
'Questions',
'FullScreen',
......@@ -94,19 +79,13 @@ export default {
new ImageToolGroupService(),
new AnnotationToolGroupService(),
new ListToolGroupService(),
// new CodeBlockService(),
// new CodeBlockToolGroupService(),
new DisplayTextToolGroupService(),
new MathService(),
new FullScreenService(),
new FullScreenToolGroupService(),
new SpecialCharactersService(),
new SpecialCharactersToolGroupService(),
new HighlightService(),
new TextHighlightToolGroupServices(),
new EditorInfoToolGroupServices(),
new BottomInfoService(),
new TransformService(),
new TransformToolGroupService(),
],
};
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment