From 6183a36bdb61b64fb20991724703595985c8e259 Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Sun, 15 May 2022 17:28:51 +0300 Subject: [PATCH] remove console.log --- editors/demo/src/HHMI/HHMI.js | 2 +- .../src/MultipleDropDownService/components/DropDownComponent.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/editors/demo/src/HHMI/HHMI.js b/editors/demo/src/HHMI/HHMI.js index cc00d1390..e9f619292 100644 --- a/editors/demo/src/HHMI/HHMI.js +++ b/editors/demo/src/HHMI/HHMI.js @@ -55,7 +55,7 @@ const Hhmi = () => { value={aa} readonly={readOnly} layout={HhmiLayout} - onChange={source => console.log(source)} + // onChange={source => console.log(source)} /> </> ); diff --git a/wax-prosemirror-services/src/MultipleDropDownService/components/DropDownComponent.js b/wax-prosemirror-services/src/MultipleDropDownService/components/DropDownComponent.js index ff28e0554..34d88dbaa 100644 --- a/wax-prosemirror-services/src/MultipleDropDownService/components/DropDownComponent.js +++ b/wax-prosemirror-services/src/MultipleDropDownService/components/DropDownComponent.js @@ -126,6 +126,7 @@ export default ({ setPosition, position }) => { useEffect(() => { if (addOptionRef.current) addOptionRef.current.focus(); + const allNodes = getNodes(main); if (!activeView.state.selection.node) return; allNodes.forEach(singleNode => { -- GitLab