diff --git a/editors/demo/src/HHMI/config/config.js b/editors/demo/src/HHMI/config/config.js index 15b33a9e81b719ae4ef3848134a38038608b086c..96fb850d78583d6934de36b8a1d57e1c30827873 100644 --- a/editors/demo/src/HHMI/config/config.js +++ b/editors/demo/src/HHMI/config/config.js @@ -1,5 +1,4 @@ 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(), ], };