mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 00:06:09 +01:00
14 lines
388 B
TypeScript
14 lines
388 B
TypeScript
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();
|
|
}
|
|
});
|
|
};
|