mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
orderedList
This commit is contained in:
parent
982cb0d248
commit
29db8193ca
10 changed files with 10 additions and 10 deletions
|
|
@ -1206,7 +1206,7 @@
|
|||
"list": "List",
|
||||
"more": "More",
|
||||
"nameEmpty": "Name is empty",
|
||||
"ordered-list": "Order List",
|
||||
"orderedList": "Order List",
|
||||
"outdent": "Outdent",
|
||||
"outlineOutdent": "List outline outdent",
|
||||
"outlineOutdentTip": "After enabling, the outdent will be using the list outline logic, i.e. moving the list items below the parent",
|
||||
|
|
|
|||
|
|
@ -1206,7 +1206,7 @@
|
|||
"list": "Lista",
|
||||
"more": "Más",
|
||||
"nameEmpty": "El nombre está vacío",
|
||||
"ordered-list": "Lista ordenada",
|
||||
"orderedList": "Lista ordenada",
|
||||
"outdent": "anular la sangría",
|
||||
"outlineOutdent": "Lista de contorno sin sangría",
|
||||
"outlineOutdentTip": "Después de habilitar, el outdent utilizará la lógica de esquema de la lista, es decir, moviendo los elementos de la lista debajo del padre",
|
||||
|
|
|
|||
|
|
@ -1206,7 +1206,7 @@
|
|||
"list": "Liste",
|
||||
"more": "Plus",
|
||||
"nameEmpty": "Nom est vide",
|
||||
"ordered-list": "Liste d'ordres",
|
||||
"orderedList": "Liste d'ordres",
|
||||
"outdent": "Outdent",
|
||||
"outlineOutdent": "Liste des retraits excessifs du contour",
|
||||
"outlineOutdentTip": "Après l'activation, le retrait négatif utilisera la logique de contour de la liste, c'est-à-dire en déplaçant les éléments de la liste sous le parent",
|
||||
|
|
|
|||
|
|
@ -1206,7 +1206,7 @@
|
|||
"list": "リスト",
|
||||
"more": "詳細",
|
||||
"nameEmpty": "名前が空です",
|
||||
"ordered-list": "番号付きリスト",
|
||||
"orderedList": "番号付きリスト",
|
||||
"outdent": "アウトデント",
|
||||
"outlineOutdent": "リストのアウトラインアウトデント",
|
||||
"outlineOutdentTip": "リスト項目にアウトラインロジックを使用してアウトデントします",
|
||||
|
|
|
|||
|
|
@ -1206,7 +1206,7 @@
|
|||
"list": "無序列表",
|
||||
"more": "更多",
|
||||
"nameEmpty": "檔案名不能為空",
|
||||
"ordered-list": "有序列表",
|
||||
"orderedList": "有序列表",
|
||||
"outdent": "列表反向縮進",
|
||||
"outlineOutdent": "列表大綱反向縮進",
|
||||
"outlineOutdentTip": "啟用後將使用列表大綱式邏輯反向縮進,即將列表項移動到父級下方",
|
||||
|
|
|
|||
|
|
@ -1206,7 +1206,7 @@
|
|||
"list": "无序列表",
|
||||
"more": "更多",
|
||||
"nameEmpty": "文件名不能为空",
|
||||
"ordered-list": "有序列表",
|
||||
"orderedList": "有序列表",
|
||||
"outdent": "列表反向缩进",
|
||||
"outlineOutdent": "列表大纲反向缩进",
|
||||
"outlineOutdentTip": "启用后将使用列表大纲式逻辑反向缩进,即将列表项移动到父级下方",
|
||||
|
|
|
|||
|
|
@ -429,7 +429,7 @@ export abstract class Constants {
|
|||
"inline-code": {default: "⌘G", custom: "⌘G"},
|
||||
link: {default: "⌘K", custom: "⌘K"},
|
||||
check: {default: "⌘L", custom: "⌘L"},
|
||||
"ordered-list": {default: "", custom: ""},
|
||||
"orderedList": {default: "", custom: ""},
|
||||
list: {default: "", custom: ""},
|
||||
table: {default: "⌘O", custom: "⌘O"},
|
||||
code: {default: "⇧⌘K", custom: "⇧⌘K"},
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ const renderSlashMenu = (protyle: IProtyle, toolbarElement: Element) => {
|
|||
${getSlashItem("##### " + Lute.Caret, "iconH5", window.siyuan.languages.heading5, "true")}
|
||||
${getSlashItem("###### " + Lute.Caret, "iconH6", window.siyuan.languages.heading6, "true")}
|
||||
${getSlashItem("* " + Lute.Caret, "iconList", window.siyuan.languages.list, "true")}
|
||||
${getSlashItem("1. " + Lute.Caret, "iconOrderedList", window.siyuan.languages["ordered-list"], "true")}
|
||||
${getSlashItem("1. " + Lute.Caret, "iconOrderedList", window.siyuan.languages.orderedList, "true")}
|
||||
${getSlashItem("* [ ] " + Lute.Caret, "iconCheck", window.siyuan.languages.check, "true")}
|
||||
${getSlashItem("> " + Lute.Caret, "iconQuote", window.siyuan.languages.quote, "true")}
|
||||
${getSlashItem("```", "iconCode", window.siyuan.languages.code, "true")}
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ export const hintSlash = (key: string, protyle: IProtyle) => {
|
|||
}, {
|
||||
filter: ["有序列表", "youxuliebiao", "yxlb", "ordered list"],
|
||||
value: "1. " + Lute.Caret,
|
||||
html: `<div class="b3-list-item__first"><svg class="b3-list-item__graphic"><use xlink:href="#iconOrderedList"></use></svg><span class="b3-list-item__text">${window.siyuan.languages["ordered-list"]}</span><span class="b3-list-item__meta">1. </span></div>`,
|
||||
html: `<div class="b3-list-item__first"><svg class="b3-list-item__graphic"><use xlink:href="#iconOrderedList"></use></svg><span class="b3-list-item__text">${window.siyuan.languages.orderedList}</span><span class="b3-list-item__meta">1. </span></div>`,
|
||||
}, {
|
||||
filter: ["任务列表", "renwuliebiao", "rwlb", "task list", "todo list"],
|
||||
value: "* [ ] " + Lute.Caret,
|
||||
|
|
|
|||
|
|
@ -1379,7 +1379,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
|
|||
}
|
||||
const isMatchList = matchHotKey(window.siyuan.config.keymap.editor.insert.list.custom, event);
|
||||
const isMatchCheck = matchHotKey(window.siyuan.config.keymap.editor.insert.check.custom, event);
|
||||
const isMatchOList = matchHotKey(window.siyuan.config.keymap.editor.insert["ordered-list"].custom, event);
|
||||
const isMatchOList = matchHotKey(window.siyuan.config.keymap.editor.insert.orderedList.custom, event);
|
||||
const isMatchQuote = matchHotKey(window.siyuan.config.keymap.editor.insert.quote.custom, event);
|
||||
if (isMatchList || isMatchOList || isMatchCheck || isMatchQuote) {
|
||||
const selectsElement: HTMLElement[] = Array.from(protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue