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

import plugin for multiple choice

parent eb9019c2
No related branches found
No related tags found
1 merge request!458Hhmi accessibility
......@@ -8,6 +8,7 @@ import { baseKeymap } from 'prosemirror-commands';
import { undo, redo } from 'prosemirror-history';
import { WaxContext } from 'wax-prosemirror-core';
import Placeholder from '../plugins/placeholder';
import FakeCursorPlugin from '../../MultipleDropDownService/plugins/FakeCursorPlugin';
const EditorWrapper = styled.div`
border: none;
......@@ -64,7 +65,7 @@ const EditorComponent = ({ node, view, getPos }) => {
return editable;
});
let finalPlugins = [];
let finalPlugins = [FakeCursorPlugin()];
const createKeyBindings = () => {
const keys = getKeys();
......
......@@ -13,6 +13,7 @@ import {
sinkListItem,
} from 'prosemirror-schema-list';
import Placeholder from '../plugins/placeholder';
import FakeCursorPlugin from '../../MultipleDropDownService/plugins/FakeCursorPlugin';
const EditorWrapper = styled.div`
border: none;
......@@ -71,7 +72,7 @@ const QuestionEditorComponent = ({ node, view, getPos }) => {
return editable;
});
let finalPlugins = [];
let finalPlugins = [FakeCursorPlugin()];
const createKeyBindings = () => {
const keys = getKeys();
......
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