allow ctrl+v to paste image to editor

This commit is contained in:
Qing
2022-10-08 21:41:26 +08:00
parent 4980675730
commit 3c5781c947
4 changed files with 51 additions and 7 deletions

View File

@@ -22,12 +22,12 @@ const SidePanel = () => {
className="btn-primary side-panel-trigger"
onClick={() => toggleOpen()}
>
Stable Diffusion
Configurations
</PopoverPrimitive.Trigger>
<PopoverPrimitive.Portal>
<PopoverPrimitive.Content className="side-panel-content">
<SettingBlock
title="Show Croper"
title="Croper"
input={
<Switch
checked={setting.showCroper}