Vanessa 2024-11-17 11:23:56 +08:00
parent 8653f7ee61
commit d9a4e43979

View file

@ -196,7 +196,7 @@ export const openFile = async (options: IOpenFileOptions) => {
/// #if !BROWSER
// https://github.com/siyuan-note/siyuan/issues/7491
if (!options.position) {
if (!options.position || (options.position === "right" && options.assetPath)) {
let hasMatch = false;
const optionsClone: IObject = {};
Object.keys(options).forEach((key: keyof IOpenFileOptions) => {