mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-26 00:44:07 +01:00
This commit is contained in:
parent
ea9738b88c
commit
7d01a45b66
3 changed files with 28 additions and 0 deletions
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue