mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-30 20:25:17 +01:00
This commit is contained in:
parent
f1f93287f5
commit
1ba4c4af77
2 changed files with 2 additions and 2 deletions
|
|
@ -473,7 +473,7 @@
|
|||
"customSort": "自定义排序",
|
||||
"collapse": "折叠",
|
||||
"blockEmbed": "嵌入块",
|
||||
"gutterTip": "拖拽 移动位置<br>点击 打开菜单<br>⌘Click 进入<br>⌥Click 折叠/展开<br>⇧Click 修改属性",
|
||||
"gutterTip": "点击 打开菜单<br>⌘Click 进入<br>⌥Click 折叠/展开<br>⇧Click 修改属性<br>拖拽 移动位置<br>⌃拖拽 重复<br>⌥拖拽 生成块引用<br>⇧拖拽 生成嵌入块<br>",
|
||||
"gutterTip2": "点击 打开菜单<br>⇧Click 修改属性",
|
||||
"linkDistance": "链接距离",
|
||||
"collideStrength": "斥力强度",
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ export class Gutter {
|
|||
constructor(protyle: IProtyle) {
|
||||
this.element = document.createElement("div");
|
||||
this.element.className = "protyle-gutters";
|
||||
this.element.setAttribute("aria-label", window.siyuan.languages.gutterTip.replace("⌘Click", updateHotkeyTip("⌘Click")).replace("⌥Click", updateHotkeyTip("⌥Click")).replace("⇧Click", updateHotkeyTip("⇧Click")));
|
||||
this.element.setAttribute("aria-label", window.siyuan.languages.gutterTip.replace(/⌘/g, updateHotkeyTip("⌘")).replace(/⌥/g, updateHotkeyTip("⌥")).replace(/⇧/g, updateHotkeyTip("⇧")).replace(/⌃/g, updateHotkeyTip("⌃")));
|
||||
this.element.setAttribute("data-type", "a");
|
||||
this.element.setAttribute("data-position", "right");
|
||||
this.element.addEventListener("dragstart", (event: DragEvent & { target: HTMLElement }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue