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

move question services

parent 7fc768f8
No related branches found
No related tags found
1 merge request!485Questions service
Showing
with 9 additions and 21 deletions
...@@ -16,12 +16,6 @@ import { ...@@ -16,12 +16,6 @@ import {
MathService, MathService,
FullScreenService, FullScreenService,
FullScreenToolGroupService, FullScreenToolGroupService,
MultipleChoiceQuestionService,
FillTheGapQuestionService,
QuestionsDropDownToolGroupService,
EssayService,
MatchingService,
MultipleDropDownService,
// ExternalAPIContentService, // ExternalAPIContentService,
} from 'wax-prosemirror-services'; } from 'wax-prosemirror-services';
...@@ -114,18 +108,18 @@ export default { ...@@ -114,18 +108,18 @@ export default {
'Images', 'Images',
'Tables', 'Tables',
// 'ExternalAPIContent', // 'ExternalAPIContent',
'QuestionsDropDown', // 'QuestionsDropDown',
'FullScreen', 'FullScreen',
], ],
}, },
{ // {
templateArea: 'fillTheGap', // templateArea: 'fillTheGap',
toolGroups: ['FillTheGap'], // toolGroups: ['FillTheGap'],
}, // },
{ // {
templateArea: 'MultipleDropDown', // templateArea: 'MultipleDropDown',
toolGroups: ['MultipleDropDown'], // toolGroups: ['MultipleDropDown'],
}, // },
], ],
// ExternalAPIContentService: { // ExternalAPIContentService: {
// ExternalAPIContentTransformation: ExternalAPIContentTransformation, // ExternalAPIContentTransformation: ExternalAPIContentTransformation,
...@@ -138,12 +132,6 @@ export default { ...@@ -138,12 +132,6 @@ export default {
PmPlugins: [columnResizing(), tableEditing(), invisibles([hardBreak()])], PmPlugins: [columnResizing(), tableEditing(), invisibles([hardBreak()])],
services: [ services: [
// new ExternalAPIContentService(), // new ExternalAPIContentService(),
new MatchingService(),
new FillTheGapQuestionService(),
new MultipleChoiceQuestionService(),
new QuestionsDropDownToolGroupService(),
new MultipleDropDownService(),
new EssayService(),
new ListsService(), new ListsService(),
new LinkService(), new LinkService(),
new InlineAnnotationsService(), new InlineAnnotationsService(),
......
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