fix(core): add option to disable middle click paste behavior on linux (#11496)

fix BS-3028
This commit is contained in:
pengx17
2025-04-07 07:01:37 +00:00
parent 6e10fe6205
commit 952f1878a6
6 changed files with 69 additions and 13 deletions

View File

@@ -34,6 +34,8 @@ const AffineEditorSettingSchema = z.object({
'open-in-center-peek',
])
.default('open-in-active-view'),
// linux only:
disableMiddleClickPaste: z.boolean().default(false),
});
export const EditorSettingSchema = BSEditorSettingSchema.merge(