ruin1990 2025-03-18 11:12:17 +08:00 committed by GitHub
parent 1a5bb8d9ef
commit a01ac85bdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,14 @@
import {openModel} from "../menu/model";
import {image} from "../../config/image";
export const initAssets = () => {
openModel({
title: window.siyuan.languages.assets,
icon: "iconImage",
html: image.genHTML(),
bindEvent(modelMainElement: HTMLElement) {
image.element = modelMainElement;
image.bindEvent();
}
});
};