diff --git a/editors/demo/src/HHMI/HHMI.js b/editors/demo/src/HHMI/HHMI.js index 32cff8243306608a6f01f27601e5dfc1d29c1785..f4e92b1b8e35744edd1b6dd1641c9949bb359128 100644 --- a/editors/demo/src/HHMI/HHMI.js +++ b/editors/demo/src/HHMI/HHMI.js @@ -64,7 +64,7 @@ const Hhmi = () => { autoFocus customValues={{ showFeedBack: submited }} fileUpload={file => renderImage(file)} - // value={t} + value={t} readonly={readOnly} layout={HhmiLayout} // onChange={source => console.log(source)} diff --git a/editors/demo/src/HHMI/config/config.js b/editors/demo/src/HHMI/config/config.js index 136930abd1636d089445dc837144e78b3924333c..e5f77e92e204fb6234a2aa9f187d897a7364f482 100644 --- a/editors/demo/src/HHMI/config/config.js +++ b/editors/demo/src/HHMI/config/config.js @@ -68,14 +68,14 @@ export default { }, ], - ChatService: { getContent }, + // ChatService: { getContent }, SchemaService: DefaultSchema, RulesService: [emDash, ellipsis], PmPlugins: [columnResizing(), tableEditing(), invisibles([hardBreak()])], services: [ - new ChatService(), + // new ChatService(), new MatchingService(), new MatchingToolGroupService(), new FillTheGapQuestionService(), diff --git a/wax-prosemirror-components/src/components/UndoRedoButton.js b/wax-prosemirror-components/src/components/UndoRedoButton.js index 7b16b2d5a8d235d66a4c19917dc21de6bd1ab20a..5b4ca8563028bf8622bbc1e286d7929893578a16 100644 --- a/wax-prosemirror-components/src/components/UndoRedoButton.js +++ b/wax-prosemirror-components/src/components/UndoRedoButton.js @@ -10,7 +10,6 @@ const UndoRedoButton = ({ view = {}, item }) => { pmViews: { main }, activeViewId, activeView, - options, } = useContext(WaxContext); const isEditable = main.props.editable(editable => {