@cyberskill/cyber-editor 2.0.4 → 3.1.0

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.
@@ -1 +1 @@
1
- export declare const AccordionView: () => import("react/jsx-runtime").JSX.Element | null;
1
+ export declare const AccordionView: ({ node, editor }: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,7 @@
1
- import { NodeViewProps } from '@tiptap/react';
1
+ import { NodeViewProps, Editor } from '@tiptap/react';
2
2
  import { default as React } from 'react';
3
- export declare const ImageView: React.FC<NodeViewProps>;
3
+ interface ImageViewProps extends NodeViewProps {
4
+ editor: Editor;
5
+ }
6
+ export declare const ImageView: React.FC<ImageViewProps>;
7
+ export {};
@@ -1 +1 @@
1
- export declare function ToolBarTiptap(): import("react/jsx-runtime").JSX.Element | null;
1
+ export declare function ToolBarTiptap({ editor }: any): import("react/jsx-runtime").JSX.Element | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyberskill/cyber-editor",
3
- "version": "2.0.4",
3
+ "version": "3.1.0",
4
4
  "description": "A reusable rich text editor with Tiptap, Antd, and TailwindCSS.",
5
5
  "main": "dist/cyber-editor.umd.js",
6
6
  "module": "dist/cyber-editor.es.js",