mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 08:16:10 +01:00
🎨 Supports assets settings on mobile https://github.com/siyuan-note/siyuan/issues/13930 https://github.com/siyuan-note/siyuan/issues/13622 (#14380)
This commit is contained in:
parent
1a5bb8d9ef
commit
a01ac85bdb
2 changed files with 23 additions and 0 deletions
14
app/src/mobile/settings/assets.ts
Normal file
14
app/src/mobile/settings/assets.ts
Normal 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();
|
||||
}
|
||||
});
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue