From 2ed61c46b49019e9a2789561a56d152fc0a94016 Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Mon, 22 Apr 2024 20:53:19 +0300 Subject: [PATCH] alter config --- editors/demo/src/Editoria/Editoria.js | 2 +- editors/demo/src/Editoria/config/config.js | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/editors/demo/src/Editoria/Editoria.js b/editors/demo/src/Editoria/Editoria.js index 3e85568ea..8837b278e 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 4bb09f337..8d4dc6ce5 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(), -- GitLab