@morphika/andami 0.2.7 → 0.2.8

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.
@@ -79,8 +79,8 @@ export default function RichTextEditor({ block, editable = false }: RichTextEdit
79
79
  const commitContent = useCallback(
80
80
  (ed: Editor | null) => {
81
81
  if (!ed) return;
82
- const doc = ed.getJSON();
83
- const portableText = tiptapToPortableText(doc);
82
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
83
+ const portableText = tiptapToPortableText(ed.getJSON() as any);
84
84
  updateBlockDebounced(block._key, {
85
85
  text: portableText,
86
86
  } as Partial<ContentBlock>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morphika/andami",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Visual Page Builder — core library. A reusable website builder with visual editing, CMS integration, and asset management.",
5
5
  "type": "module",
6
6
  "license": "MIT",