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 }) => { ...@@ -16,7 +16,7 @@ const Button = ({ view = {}, item }) => {
return editable; return editable;
}); });
const { dispatch, state } = view; const { state, dispatch } = view;
const handleMouseDown = (e, editorState, editorDispatch) => { const handleMouseDown = (e, editorState, editorDispatch) => {
e.preventDefault(); e.preventDefault();
......
...@@ -10,7 +10,7 @@ const multipleChoiceSingleCorrectContainerNode = { ...@@ -10,7 +10,7 @@ const multipleChoiceSingleCorrectContainerNode = {
atom: true, atom: true,
selectable: true, selectable: true,
draggable: true, draggable: true,
content: 'block+', content: 'block*',
parseDOM: [ parseDOM: [
{ {
tag: 'div.multiple-choice-single-correct', tag: 'div.multiple-choice-single-correct',
......
...@@ -7,7 +7,7 @@ const trueFalseContainerNode = { ...@@ -7,7 +7,7 @@ const trueFalseContainerNode = {
atom: true, atom: true,
selectable: true, selectable: true,
draggable: true, draggable: true,
content: 'block+', content: 'block*',
parseDOM: [ parseDOM: [
{ {
tag: 'div.true-false', tag: 'div.true-false',
......
...@@ -7,7 +7,7 @@ const trueFalseSingleCorrectContainerNode = { ...@@ -7,7 +7,7 @@ const trueFalseSingleCorrectContainerNode = {
atom: true, atom: true,
selectable: true, selectable: true,
draggable: true, draggable: true,
content: 'block+', content: 'block*',
parseDOM: [ parseDOM: [
{ {
tag: 'div.true-false-single-correct', 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