mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-10 15:12:38 +08:00
🐛 空行处插入 mp3 会多一个空的 mp3 块
This commit is contained in:
parent
724ab74566
commit
f47d50e470
@ -1169,6 +1169,8 @@ export class Toolbar {
|
|||||||
upDownHint(this.subElement.lastElementChild.lastElementChild as HTMLElement, event);
|
upDownHint(this.subElement.lastElementChild.lastElementChild as HTMLElement, event);
|
||||||
if (event.key === "Enter") {
|
if (event.key === "Enter") {
|
||||||
hintRenderAssets(this.subElement.querySelector(".b3-list-item--focus").getAttribute("data-value"), protyle);
|
hintRenderAssets(this.subElement.querySelector(".b3-list-item--focus").getAttribute("data-value"), protyle);
|
||||||
|
// 空行处插入 mp3 会多一个空的 mp3 块
|
||||||
|
event.preventDefault();
|
||||||
} else if (event.key === "Escape") {
|
} else if (event.key === "Escape") {
|
||||||
this.subElement.classList.add("fn__none");
|
this.subElement.classList.add("fn__none");
|
||||||
focusByRange(this.range);
|
focusByRange(this.range);
|
||||||
|
Loading…
Reference in New Issue
Block a user