mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 16:56:10 +01:00
This commit is contained in:
parent
de69e19ab7
commit
9ccb1f173e
2 changed files with 62 additions and 33 deletions
|
|
@ -989,6 +989,14 @@ export class Gutter {
|
|||
selectsElement: [nodeElement],
|
||||
type: "Blocks2Ps",
|
||||
}));
|
||||
turnIntoSubmenu.push(this.turnsIntoOne({
|
||||
icon: "iconQuote",
|
||||
accelerator: window.siyuan.config.keymap.editor.insert.quote.custom,
|
||||
label: window.siyuan.languages.quote,
|
||||
protyle,
|
||||
selectsElement: [nodeElement],
|
||||
type: "Blocks2Blockquote"
|
||||
}));
|
||||
if (subType !== "h1") {
|
||||
turnIntoSubmenu.push(this.turnsInto({
|
||||
icon: "iconH1",
|
||||
|
|
@ -1065,6 +1073,14 @@ export class Gutter {
|
|||
id,
|
||||
type: "CancelList"
|
||||
}));
|
||||
turnIntoSubmenu.push(this.turnsIntoOne({
|
||||
icon: "iconQuote",
|
||||
accelerator: window.siyuan.config.keymap.editor.insert.quote.custom,
|
||||
label: window.siyuan.languages.quote,
|
||||
protyle,
|
||||
selectsElement: [nodeElement],
|
||||
type: "Blocks2Blockquote"
|
||||
}));
|
||||
if (nodeElement.getAttribute("data-subtype") === "o") {
|
||||
turnIntoSubmenu.push(this.turnsOneInto({
|
||||
icon: "iconList",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue