v-notion-editor 0.3.2 → 0.3.3

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.
@@ -35168,7 +35168,7 @@ const zF = /* @__PURE__ */ Te({
35168
35168
  }, e.click();
35169
35169
  }), Zx = async (t) => new Promise(async (e, n) => {
35170
35170
  try {
35171
- (await import("./papaparse.min-BnD1VXRQ.js").then((s) => s.p)).default.parse(t, {
35171
+ (await import("./papaparse.min-33VXePx1.js").then((s) => s.p)).default.parse(t, {
35172
35172
  complete: (s) => {
35173
35173
  try {
35174
35174
  const i = s.data;
@@ -68017,7 +68017,10 @@ const qK = {
68017
68017
  he(Ce(X9), {
68018
68018
  editor: Ce(S),
68019
68019
  "data-tauri-drag-region": "",
68020
- class: xe(["w-full", [N.className, N.isCanvas ? "h-auto" : "h-full mx-auto pt-2.5 pl-2 pr-5 overflow-auto"]]),
68020
+ class: xe(["w-full", [
68021
+ N.className,
68022
+ N.isCanvas ? "h-auto" : "EditorContent h-full mx-auto py-2.5 pl-2 pr-5 overflow-auto"
68023
+ ]]),
68021
68024
  style: vt(N.styles)
68022
68025
  }, null, 8, ["editor", "class", "style"]),
68023
68026
  T ? (z(), fe(Ce(gO), {
@@ -68692,6 +68695,7 @@ const pY = ["innerHTML"], IY = /* @__PURE__ */ Te({
68692
68695
  bubbleMenuOptions: {},
68693
68696
  allowedSlashMenuItems: {},
68694
68697
  className: {},
68698
+ editorClass: {},
68695
68699
  tableColumnComponents: {},
68696
68700
  headerRowDeletable: { type: Boolean },
68697
68701
  headerRowToggleable: { type: Boolean }
@@ -68759,16 +68763,17 @@ const pY = ["innerHTML"], IY = /* @__PURE__ */ Te({
68759
68763
  modelValue: s.value,
68760
68764
  "onUpdate:modelValue": c,
68761
68765
  placeholder: u.placeholder,
68766
+ className: `${u.block !== "table" && "py-0! px-0!"} ${u.editorClass}`,
68762
68767
  showBubbleMenu: u.showBubbleMenu !== !1,
68763
68768
  bubbleMenuOptions: u.bubbleMenuOptions,
68764
68769
  slashMenuConfig: { allowedItems: u.allowedSlashMenuItems },
68765
68770
  minimalMode: u.block !== "all" && u.block !== "table" && u.block !== "grid",
68766
68771
  tableColumnComponents: u.tableColumnComponents,
68767
68772
  wrapperClass: "node-input-minimal-editor"
68768
- }, null, 8, ["modelValue", "placeholder", "showBubbleMenu", "bubbleMenuOptions", "slashMenuConfig", "minimalMode", "tableColumnComponents"])
68773
+ }, null, 8, ["modelValue", "placeholder", "className", "showBubbleMenu", "bubbleMenuOptions", "slashMenuConfig", "minimalMode", "tableColumnComponents"])
68769
68774
  ], 2));
68770
68775
  }
68771
- }), DY = /* @__PURE__ */ xr(mY, [["__scopeId", "data-v-7479d50c"]]);
68776
+ }), DY = /* @__PURE__ */ xr(mY, [["__scopeId", "data-v-46a1ef03"]]);
68772
68777
  export {
68773
68778
  Y9 as E,
68774
68779
  Sj as M,
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as r, M as s, N as e, _ as n, b as t, a as d, f as i, e as M, i as k, o as w, d as p, p as l } from "./index-cnQXzf1k.js";
1
+ import { E as r, M as s, N as e, _ as n, b as t, a as d, f as i, e as M, i as k, o as w, d as p, p as l } from "./index-CJqcGtn7.js";
2
2
  export {
3
3
  r as Editor,
4
4
  s as MarkdownPaste,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "v-notion-editor",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "A Notion-style Editor.",
5
5
  "type": "module",
6
6
  "author": "safdar-azeem",
@@ -1,4 +1,4 @@
1
- import { g as me, c as ye } from "./index-cnQXzf1k.js";
1
+ import { g as me, c as ye } from "./index-CJqcGtn7.js";
2
2
  var ce = { exports: {} };
3
3
  /* @license
4
4
  Papa Parse