mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
8d9d0a0dc0
commit
0d389f3a25
1 changed files with 16 additions and 0 deletions
|
|
@ -1285,6 +1285,14 @@ export class Gutter {
|
|||
nodeElement,
|
||||
type: "CancelBlockquote"
|
||||
}));
|
||||
turnIntoSubmenu.push(this.turnsOneInto({
|
||||
id,
|
||||
icon: "iconCallout",
|
||||
label: window.siyuan.languages.callout,
|
||||
protyle,
|
||||
nodeElement,
|
||||
type: "Blockquote2Callout"
|
||||
}));
|
||||
} else if (type === "NodeCallout" && !protyle.disabled) {
|
||||
turnIntoSubmenu.push(this.turnsOneInto({
|
||||
menuId: "paragraph",
|
||||
|
|
@ -1296,6 +1304,14 @@ export class Gutter {
|
|||
nodeElement,
|
||||
type: "CancelCallout"
|
||||
}));
|
||||
turnIntoSubmenu.push(this.turnsOneInto({
|
||||
id,
|
||||
icon: "iconQuote",
|
||||
label: window.siyuan.languages.quote,
|
||||
protyle,
|
||||
nodeElement,
|
||||
type: "Callout2Blockquote"
|
||||
}));
|
||||
}
|
||||
if (turnIntoSubmenu.length > 0 && !protyle.disabled) {
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue