diff --git a/editors/demo/src/Editoria/Editoria.js b/editors/demo/src/Editoria/Editoria.js index 3e85568eaea88403be4213b9ad9291685b3f3d73..8837b278e3d8c3e0e7c6f5a3ea237f63a71cfb22 100644 --- a/editors/demo/src/Editoria/Editoria.js +++ b/editors/demo/src/Editoria/Editoria.js @@ -55,7 +55,7 @@ const Editoria = () => { autoFocus placeholder="Type Something..." fileUpload={file => renderImage(file)} - // value={demo} + value={demo} // readonly layout={layout} // onChange={debounce(source => { diff --git a/editors/demo/src/Editoria/config/config.js b/editors/demo/src/Editoria/config/config.js index 4bb09f3377b327c1b1c50df1515c9773cf147e7a..8d4dc6ce512de938b9882159f8797eaf26e747a2 100644 --- a/editors/demo/src/Editoria/config/config.js +++ b/editors/demo/src/Editoria/config/config.js @@ -225,7 +225,7 @@ export default { 'HighlightToolGroup', 'TransformToolGroup', 'CustomTagInline', - // 'Notes', + 'Notes', 'Lists', 'Images', 'SpecialCharacters', @@ -303,12 +303,12 @@ export default { ], updateTags: saveTags, }, - YjsService: { - // eslint-disable-next-line no-restricted-globals - connectionUrl: 'ws://localhost:4000', - docIdentifier: 'prosemirror-demo', - YjsType: 'prosemirror', - }, + // YjsService: { + // // eslint-disable-next-line no-restricted-globals + // connectionUrl: 'ws://localhost:4000', + // docIdentifier: 'prosemirror-demo', + // YjsType: 'prosemirror', + // }, AskAiContentService: { AskAiContentTransformation: DummyPromise, @@ -316,7 +316,7 @@ export default { }, services: [ - new YjsService(), + // new YjsService(), new BlockDropDownToolGroupService(), new AskAiContentService(), new CustomTagService(), @@ -330,7 +330,7 @@ export default { new ImageService(), new TablesService(), new BaseService(), - // new NoteService(), + new NoteService(), new CodeBlockService(), new EditingSuggestingService(), new DisplayTextToolGroupService(),