@thangph2146/nextjs-editor 1.0.8 → 1.0.10

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.js CHANGED
@@ -33691,7 +33691,8 @@ function Editor({
33691
33691
  {
33692
33692
  ref: editorRef,
33693
33693
  className: cn(
33694
- "bg-background rounded-lg shadow w-full"
33694
+ "w-full min-w-0",
33695
+ !readOnly && "bg-background rounded-lg shadow"
33695
33696
  ),
33696
33697
  id: "editor-x",
33697
33698
  children: /* @__PURE__ */ jsx96(EditorContainerProvider, { value: { maxWidth: editorMaxWidth }, children: /* @__PURE__ */ jsx96(