mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-19 13:38:06 +01:00
This commit is contained in:
parent
91a768e4e7
commit
49d9643eb4
2 changed files with 4 additions and 2 deletions
|
|
@ -977,7 +977,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
|
|||
} else if (targetElement.classList.contains("av__row")) {
|
||||
// 拖拽到属性视图内
|
||||
const blockElement = hasClosestBlock(targetElement);
|
||||
if (blockElement && sourceElements.length > 0) {
|
||||
if (blockElement) {
|
||||
let previousID = "";
|
||||
if (targetClass.includes("dragover__bottom")) {
|
||||
previousID = targetElement.getAttribute("data-id") || "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue