Browse Source

:art: https://github.com/siyuan-note/siyuan/pull/13376

Vanessa 7 tháng trước cách đây
mục cha
commit
ece3189263

+ 1 - 1
app/src/protyle/render/av/action.ts

@@ -512,7 +512,7 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positi
             menu.addItem({
             menu.addItem({
                 icon: "iconBefore",
                 icon: "iconBefore",
                 label: `<div class="fn__flex" style="align-items: center;">
                 label: `<div class="fn__flex" style="align-items: center;">
-${window.siyuan.languages.insertRowBefore.replace("${x}", '<span class="fn__space"></span><input style="width:64px" type="number" step="1" min="1" value="1" placeholder="${window.siyuan.languages.enterKey}" class="b3-text-field"><span class="fn__space"></span>')}
+${window.siyuan.languages.insertRowBefore.replace("${x}", `<span class="fn__space"></span><input style="width:64px" type="number" step="1" min="1" value="1" placeholder="${window.siyuan.languages.enterKey}" class="b3-text-field"><span class="fn__space"></span>`)}
 </div>`,
 </div>`,
                 bind(element) {
                 bind(element) {
                     const inputElement = element.querySelector("input");
                     const inputElement = element.querySelector("input");