@windoc/react 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2172,6 +2172,11 @@ function EditorInner({
2172
2172
  }
2173
2173
  }
2174
2174
  ]);
2175
+ if (userOnDrop) {
2176
+ instance.override.drop = (evt) => {
2177
+ evt.preventDefault();
2178
+ };
2179
+ }
2175
2180
  const closeDropdowns = (evt) => {
2176
2181
  const visibleDom = document.querySelector(".visible");
2177
2182
  if (!visibleDom) return;