feat: dnd sidebar to whiteboard (#7617)

feat: dnd sidebar to whiteboard
This commit is contained in:
Peng Xiao
2022-12-07 20:40:32 +08:00
committed by GitHub
parent da0f3eb5b4
commit a06b0aad57
8 changed files with 50 additions and 15 deletions

View File

@@ -1647,9 +1647,7 @@
(defn- bullet-drag-start
[event block uuid block-id]
(editor-handler/highlight-block! uuid)
(.setData (gobj/get event "dataTransfer")
"block-uuid"
uuid)
(editor-handler/block->data-transfer! uuid event)
(.setData (gobj/get event "dataTransfer")
"block-dom-id"
block-id)