(e: DragEvent, followId: string)
| 77 | }; |
| 78 | |
| 79 | const dropToNewArea = (e: DragEvent, followId: string) => { |
| 80 | if (!containerState.isDesignMode) return; |
| 81 | e.preventDefault(); |
| 82 | removeDragClass( |
| 83 | e.target as HTMLElement, |
| 84 | "global-placeholder-card", |
| 85 | "global-placeholder-card-dragover" |
| 86 | ); |
| 87 | const sourceConfig = JSON.parse(e?.dataTransfer?.getData("text/plain") || "{}"); |
| 88 | const sourceId = sourceConfig?.id; |
| 89 | moveCardItem(sourceId, followId, true); |
| 90 | }; |
| 91 | |
| 92 | const newAreaDragenter = (e: DragEvent) => { |
| 93 | if (!containerState.isDesignMode) return; |
nothing calls this directly
no test coverage detected