mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
e61edf720d
commit
d6f1296dd1
1 changed files with 15 additions and 8 deletions
|
|
@ -1050,7 +1050,8 @@ export class WYSIWYG {
|
|||
hasJump = true;
|
||||
}
|
||||
} else {
|
||||
if (!currentElement.classList.contains("protyle-breadcrumb__bar")) {
|
||||
if (!currentElement.classList.contains("protyle-breadcrumb__bar") &&
|
||||
!currentElement.classList.contains("protyle-breadcrumb__item")) {
|
||||
selectElements.push(currentElement);
|
||||
}
|
||||
currentElement = currentElement.nextElementSibling;
|
||||
|
|
@ -1237,7 +1238,10 @@ export class WYSIWYG {
|
|||
}
|
||||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({id: "separator_1", type: "separator"}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
id: "separator_1",
|
||||
type: "separator"
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
id: "alignLeft",
|
||||
icon: "iconAlignLeft",
|
||||
|
|
@ -1340,7 +1344,10 @@ export class WYSIWYG {
|
|||
}
|
||||
}
|
||||
}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({id: "separator_2", type: "separator"}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
id: "separator_2",
|
||||
type: "separator"
|
||||
}).element);
|
||||
}
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
id: "copyPlainText",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue