🎨 块引用与所引用的内容块进行交换 https://github.com/siyuan-note/siyuan/issues/4981

This commit is contained in:
Liang Ding 2022-10-03 16:51:30 +08:00
parent 7ed804f5bb
commit 8cbdff70c3
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,6 @@
{
"defBlock": "Def block",
"defBlockChildren": "Define block and its children",
"filter": "Filter",
"copyHeadings": "Copy Headings and Bottom Blocks",
"tWithSubtitle":"Transformation with subtitles",

View file

@ -1,4 +1,6 @@
{
"defBlock": "Definir bloque",
"defBlockChildren": "Definir bloque y sus hijos",
"filter": "Filtro",
"copyHeadings": "Copiar encabezados y bloques inferiores",
"tWithSubtitle": "Transformación con subtítulos",

View file

@ -1,4 +1,6 @@
{
"defBlock": "Définir le bloc",
"defBlockChildren": "Définir le bloc et ses enfants",
"filter": "Filtre",
"copyHeadings": "Copier les en-têtes et les blocs inférieurs",
"tWithSubtitle": "Transformation avec sous-titres",

View file

@ -1,4 +1,6 @@
{
"defBlock": "定義塊",
"defBlockChildren": "定義塊及其子塊",
"filter": "過濾",
"copyHeadings": "複製標題及下方塊",
"tWithSubtitle": "帶子標題轉換",

View file

@ -1,4 +1,6 @@
{
"defBlock": "定义块",
"defBlockChildren": "定义块及其子块",
"filter": "过滤",
"copyHeadings": "复制标题及下方块",
"tWithSubtitle": "带子标题转换",

View file

@ -220,7 +220,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {
});
}
submenu.push({
label: "原始块",
label: window.siyuan.languages.defBlock,
click() {
fetchPost("/api/block/swapBlockRef", {
refID: id,
@ -230,7 +230,7 @@ export const refMenu = (protyle: IProtyle, element: HTMLElement) => {
}
});
submenu.push({
label: "原始块及子块",
label: window.siyuan.languages.defBlockChildren,
click() {
fetchPost("/api/block/swapBlockRef", {
refID: id,