mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-27 09:24:06 +01:00
This commit is contained in:
parent
f25b36ff38
commit
cd40ec50bb
21 changed files with 341 additions and 398 deletions
|
|
@ -165,6 +165,9 @@ export class MenuItem {
|
|||
public element: HTMLElement;
|
||||
|
||||
constructor(options: IMenu) {
|
||||
if (options.ignore) {
|
||||
return;
|
||||
}
|
||||
if (options.type === "empty") {
|
||||
this.element = document.createElement("div");
|
||||
this.element.innerHTML = options.label;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue