mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🐛 空行处插入 mp3 会多一个空的 mp3 块
This commit is contained in:
parent
724ab74566
commit
f47d50e470
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue