diff --git a/src/filehandle/md_editor/component/MDHandle.tsx b/src/filehandle/md_editor/component/MDHandle.tsx index 7d5ab35..a3e0f0d 100644 --- a/src/filehandle/md_editor/component/MDHandle.tsx +++ b/src/filehandle/md_editor/component/MDHandle.tsx @@ -46,7 +46,10 @@ const MDHandle: React.FC = (props) => { backgroundManager.bringToBackground({ id: handleId, icon: , - open: () => setOpen(true) + open: () => { + setOpen(true); + backgroundManager.removeBackground(handleId); + } }); };