feat: close change editor menu once editor is selected (#907)
This commit is contained in:
@@ -130,6 +130,9 @@ export const ChangeEditorButton: FunctionComponent<Props> = observer(
|
||||
setSelectedEditor={setCurrentEditor}
|
||||
note={note}
|
||||
groups={editorMenuGroups}
|
||||
closeMenu={() => {
|
||||
setOpen(false);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
</DisclosurePanel>
|
||||
|
||||
Reference in New Issue
Block a user