mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
66d7eabf5a
commit
e0ebc536d5
1 changed files with 3 additions and 3 deletions
|
|
@ -172,9 +172,9 @@ ${unicode2Emoji(emoji.unicode, true)}</button>`;
|
|||
return;
|
||||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/5083
|
||||
if (!isMobile() && (this.splitChar === "/" || this.splitChar === "、")) {
|
||||
if (this.splitChar === "/" || this.splitChar === "、") {
|
||||
clearTimeout(this.timeId);
|
||||
if (this.enableSlash) {
|
||||
if (this.enableSlash && !isMobile()) {
|
||||
this.genHTML(hintSlash(key, protyle), protyle);
|
||||
}
|
||||
return;
|
||||
|
|
@ -201,7 +201,7 @@ ${unicode2Emoji(emoji.unicode, true)}</button>`;
|
|||
}
|
||||
}
|
||||
|
||||
public bindUploadEvent (protyle:IProtyle, element:HTMLElement) {
|
||||
public bindUploadEvent(protyle: IProtyle, element: HTMLElement) {
|
||||
const uploadElement = element.querySelector('input[type="file"]');
|
||||
if (uploadElement) {
|
||||
uploadElement.addEventListener("change", (event: InputEvent & { target: HTMLInputElement }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue