@portabletext/editor 1.40.0 → 1.40.2

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/lib/index.js CHANGED
@@ -482,10 +482,10 @@ const EMPTY_ANNOTATIONS = [], inlineBlockStyle = {
482
482
  });
483
483
  renderedBlockFromProps = renderBlock(_props);
484
484
  }
485
- return /* @__PURE__ */ jsxs("div", { ...attributes, className, draggable: !readOnly, children: [
485
+ return /* @__PURE__ */ jsxs("div", { ...attributes, className, children: [
486
486
  dragPositionBlock === "start" ? /* @__PURE__ */ jsx(DropIndicator, {}) : null,
487
487
  children,
488
- /* @__PURE__ */ jsx("div", { ref: blockRef, contentEditable: !1, children: renderedBlockFromProps || /* @__PURE__ */ jsx(DefaultBlockObject, { value }) }),
488
+ /* @__PURE__ */ jsx("div", { ref: blockRef, contentEditable: !1, draggable: !readOnly, children: renderedBlockFromProps || /* @__PURE__ */ jsx(DefaultBlockObject, { value }) }),
489
489
  dragPositionBlock === "end" ? /* @__PURE__ */ jsx(DropIndicator, {}) : null
490
490
  ] }, element._key);
491
491
  };