mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
6ca9dedd70
commit
dc5882bd60
7 changed files with 62 additions and 19 deletions
|
|
@ -14,6 +14,7 @@ import {MobileCustom} from "../mobile/dock/MobileCustom";
|
|||
import {hasClosestByAttribute} from "../protyle/util/hasClosest";
|
||||
import {BlockPanel} from "../block/Panel";
|
||||
import {Setting} from "./Setting";
|
||||
import {clearOBG} from "../layout/dock/util";
|
||||
|
||||
export class Plugin {
|
||||
private app: App;
|
||||
|
|
@ -268,6 +269,7 @@ export class Plugin {
|
|||
update: options.update,
|
||||
});
|
||||
customObj.element.addEventListener("click", () => {
|
||||
clearOBG();
|
||||
setPanelFocus(customObj.element.parentElement.parentElement);
|
||||
});
|
||||
return customObj;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue