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

rest schema

parent 0889fd17
No related branches found
No related tags found
1 merge request!359new node structure
......@@ -16,7 +16,7 @@ const Button = ({ view = {}, item }) => {
return editable;
});
const { dispatch, state } = view;
const { state, dispatch } = view;
const handleMouseDown = (e, editorState, editorDispatch) => {
e.preventDefault();
......
......@@ -10,7 +10,7 @@ const multipleChoiceSingleCorrectContainerNode = {
atom: true,
selectable: true,
draggable: true,
content: 'block+',
content: 'block*',
parseDOM: [
{
tag: 'div.multiple-choice-single-correct',
......
......@@ -7,7 +7,7 @@ const trueFalseContainerNode = {
atom: true,
selectable: true,
draggable: true,
content: 'block+',
content: 'block*',
parseDOM: [
{
tag: 'div.true-false',
......
......@@ -7,7 +7,7 @@ const trueFalseSingleCorrectContainerNode = {
atom: true,
selectable: true,
draggable: true,
content: 'block+',
content: 'block*',
parseDOM: [
{
tag: 'div.true-false-single-correct',
......
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