mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
Put tldraw-logseq.js in same source path as other js files
No need for a separate source path
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
(ns frontend.extensions.tldraw
|
||||
(:require ["/tldraw-logseq" :as TldrawLogseq]
|
||||
(:require ["/frontend/tldraw-logseq" :as TldrawLogseq]
|
||||
[frontend.components.block :as block]
|
||||
[frontend.components.page :as page]
|
||||
[frontend.db.model :as model]
|
||||
@@ -90,7 +90,7 @@
|
||||
(when (and (not-empty name) (not-empty (gobj/get data "currentPageId")))
|
||||
[:div.draw.tldraw.whiteboard.relative.w-full.h-full
|
||||
{:style {:overscroll-behavior "none"}
|
||||
:on-blur (fn [e]
|
||||
:on-blur (fn [e]
|
||||
(when (#{"INPUT" "TEXTAREA"} (.-tagName (gobj/get e "target")))
|
||||
(state/clear-edit!)))
|
||||
;; wheel -> overscroll may cause browser navigation
|
||||
|
||||
Reference in New Issue
Block a user