This commit is contained in:
parent
a00e25cd1e
commit
58ec63c1e9
2 changed files with 5 additions and 4 deletions
|
@ -151,6 +151,7 @@
|
||||||
|
|
||||||
&--readonly {
|
&--readonly {
|
||||||
border-left-color: var(--b3-theme-background-light);
|
border-left-color: var(--b3-theme-background-light);
|
||||||
|
padding-left: 13px;
|
||||||
|
|
||||||
.item__close svg {
|
.item__close svg {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -223,7 +224,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&__close {
|
&__close {
|
||||||
padding: 4px 8px 4px 0;
|
padding: 13px 13px 13px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
|
|
@ -1214,7 +1214,7 @@ export class Gutter {
|
||||||
}).element);
|
}).element);
|
||||||
window.siyuan.menus.menu.append(new MenuItem({
|
window.siyuan.menus.menu.append(new MenuItem({
|
||||||
icon: "iconCopy",
|
icon: "iconCopy",
|
||||||
label: `${window.siyuan.languages.copy} <b>${window.siyuan.languages.headings1}</b>`,
|
label: `${window.siyuan.languages.copy} ${window.siyuan.languages.headings1}`,
|
||||||
click() {
|
click() {
|
||||||
fetchPost("/api/block/getHeadingChildrenDOM", {id}, (response) => {
|
fetchPost("/api/block/getHeadingChildrenDOM", {id}, (response) => {
|
||||||
writeText(response.data + Constants.ZWSP);
|
writeText(response.data + Constants.ZWSP);
|
||||||
|
@ -1223,7 +1223,7 @@ export class Gutter {
|
||||||
}).element);
|
}).element);
|
||||||
window.siyuan.menus.menu.append(new MenuItem({
|
window.siyuan.menus.menu.append(new MenuItem({
|
||||||
icon: "iconCut",
|
icon: "iconCut",
|
||||||
label: `${window.siyuan.languages.cut} <b>${window.siyuan.languages.headings1}</b>`,
|
label: `${window.siyuan.languages.cut} ${window.siyuan.languages.headings1}`,
|
||||||
click() {
|
click() {
|
||||||
fetchPost("/api/block/getHeadingChildrenDOM", {id}, (response) => {
|
fetchPost("/api/block/getHeadingChildrenDOM", {id}, (response) => {
|
||||||
writeText(response.data + Constants.ZWSP);
|
writeText(response.data + Constants.ZWSP);
|
||||||
|
@ -1242,7 +1242,7 @@ export class Gutter {
|
||||||
}).element);
|
}).element);
|
||||||
window.siyuan.menus.menu.append(new MenuItem({
|
window.siyuan.menus.menu.append(new MenuItem({
|
||||||
icon: "iconTrashcan",
|
icon: "iconTrashcan",
|
||||||
label: `${window.siyuan.languages.delete} <b>${window.siyuan.languages.headings1}</b>`,
|
label: `${window.siyuan.languages.delete} ${window.siyuan.languages.headings1}`,
|
||||||
click() {
|
click() {
|
||||||
fetchPost("/api/block/getHeadingDeleteTransaction", {
|
fetchPost("/api/block/getHeadingDeleteTransaction", {
|
||||||
id,
|
id,
|
||||||
|
|
Loading…
Add table
Reference in a new issue