Vanessa 2025-02-18 09:49:51 +08:00
parent ea9738b88c
commit 7d01a45b66
3 changed files with 28 additions and 0 deletions

View file

@ -2055,6 +2055,7 @@ export class Gutter {
id: "ltr",
icon: "iconLtr",
label: window.siyuan.languages.ltr,
accelerator: window.siyuan.config.keymap.editor.general.ltr.custom,
click: () => {
this.genClick(nodeElements, protyle, (e: HTMLElement) => {
e.style.direction = "ltr";
@ -2064,6 +2065,7 @@ export class Gutter {
id: "rtl",
icon: "iconRtl",
label: window.siyuan.languages.rtl,
accelerator: window.siyuan.config.keymap.editor.general.rtl.custom,
click: () => {
this.genClick(nodeElements, protyle, (e: HTMLElement) => {
if (!e.classList.contains("av")) {