mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-05 15:11:48 +01:00
🎨 https://github.com/siyuan-note/siyuan/issues/5066 "click-editorcontent" | "click-pdf"
This commit is contained in:
parent
839308173a
commit
ca2d08de27
3 changed files with 8 additions and 2 deletions
|
|
@ -1502,6 +1502,9 @@ export class WYSIWYG {
|
|||
|
||||
let shiftStartElement: HTMLElement;
|
||||
this.element.addEventListener("click", (event: MouseEvent & { target: HTMLElement }) => {
|
||||
this.app.plugins.forEach(item => {
|
||||
item.eventBus.emit("click-editorcontent", event);
|
||||
});
|
||||
hideElements(["hint", "util"], protyle);
|
||||
const ctrlIsPressed = event.metaKey || event.ctrlKey;
|
||||
/// #if !MOBILE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue