We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f106e0 commit 221aca2Copy full SHA for 221aca2
2 files changed
src/dev.ts
@@ -202,5 +202,3 @@ mind.refresh(convertedData)
202
203
const plaintext = mindElixirToPlaintext(mind.getData())
204
console.log('plaintext', plaintext)
205
-
206
-// TODO: 编辑中的arrow再次点击会出现重复的高亮
src/mouse.ts
@@ -51,6 +51,8 @@ export default function (mind: MindElixirInstance) {
51
52
// Helper: Handle SVG label interactions (click or double-click)
53
const handleSvgLabelInteraction = (target: HTMLElement, isDoubleClick: boolean): boolean => {
54
+ if (target.id === 'input-box' || target.closest('#input-box')) return false
55
+
56
const label = target.closest('.svg-label') as HTMLElement
57
if (label) {
58
const id = label.dataset.svgId!
0 commit comments