@portabletext/editor 1.40.0 → 1.40.1

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.cjs CHANGED
@@ -471,10 +471,10 @@ const EMPTY_ANNOTATIONS = [], inlineBlockStyle = {
471
471
  });
472
472
  renderedBlockFromProps = renderBlock(_props);
473
473
  }
474
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ...attributes, className, draggable: !readOnly, children: [
474
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ...attributes, className, children: [
475
475
  dragPositionBlock === "start" ? /* @__PURE__ */ jsxRuntime.jsx(DropIndicator, {}) : null,
476
476
  children,
477
- /* @__PURE__ */ jsxRuntime.jsx("div", { ref: blockRef, contentEditable: !1, children: renderedBlockFromProps || /* @__PURE__ */ jsxRuntime.jsx(DefaultBlockObject, { value }) }),
477
+ /* @__PURE__ */ jsxRuntime.jsx("div", { ref: blockRef, contentEditable: !1, draggable: !readOnly, children: renderedBlockFromProps || /* @__PURE__ */ jsxRuntime.jsx(DefaultBlockObject, { value }) }),
478
478
  dragPositionBlock === "end" ? /* @__PURE__ */ jsxRuntime.jsx(DropIndicator, {}) : null
479
479
  ] }, element._key);
480
480
  };