Commit b7730eb0 by Рамис

bug fix bubble menu and modal hide

parent 0e8e928b
......@@ -873,30 +873,19 @@ const QEditor = ({ value, onChange = ()=>{}, style, uploadOptions = {url: "", er
break
case 'file':
console.log(uploadedPaths, 'ejkwnferiugnuierwnguirne');
uploadedPaths.map((file, i) => {
console.log(file);
editor.chain().focus()
// .extendMarkRange('link').setLink({
// href: file.path,
// target: '_blank',
// download: true,
// 'data-size': file.size
// })
.insertContent(`<a href="${file.path}" target="_blank" download="true" data-size="${file.size}">${file.name}</a>`).run();
});
break
}
setModalIsOpen(false);
clearBlobUrl();
setUploaderUid(`uid${new Date()}`);
setEmbedContent('');
setUploadedPaths([]);
setModalTitle('');
setModalIsOpen(false);
} catch (err) {
console.log(err)
}
......
......@@ -383,6 +383,10 @@ body{
opacity: 0.8;
}
}
&:hover{
z-index: 100000;
}
}
......@@ -536,7 +540,7 @@ body{
justify-content: center;
align-items: center;
text-align: center;
z-index: 1000;
z-index: 100001;
background-color: rgba(0, 0, 0, 0.2);
&-box{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment