hizzgdev / jsmind

a mind mapping library built by javascript
http://hizzgdev.github.io/jsmind/
Other
3.47k stars 867 forks source link

fix bug: the editing node can be dragged #623

Closed hizzgdev closed 3 months ago

hizzgdev commented 3 months ago

It's reported by https://github.com/hizzgdev/jsmind/issues/622 that the editing node can be dragged, and the input element is included in the node instead of the node topic.

Actually a node in editing should not be dragged, because users are editing the content, the dragging probably be a misoperation. This PR disable the dragging while editing.