@cyberskill/cyber-editor 3.7.2 → 3.8.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.
@@ -1,12 +0,0 @@
1
- import { Node } from '@tiptap/core';
2
- declare module '@tiptap/core' {
3
- interface Commands<ReturnType> {
4
- customAccordion: {
5
- setAccordion: (attrs?: {
6
- title?: string;
7
- content?: string;
8
- }) => ReturnType;
9
- };
10
- }
11
- }
12
- export declare const AccordionExtension: Node<any, any>;
@@ -1 +0,0 @@
1
- export declare const AccordionView: ({ node, editor }: any) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './accordion-view';
2
- export * from './accordion-extension';
@@ -1,2 +0,0 @@
1
- declare const TextColorPicker: ({ editor }: any) => import("react/jsx-runtime").JSX.Element;
2
- export default TextColorPicker;
@@ -1,4 +0,0 @@
1
- import { I_CyberEditorProvider } from 'src/utils';
2
- import './index.css';
3
- declare const CyberEditorProvider: React.FC<I_CyberEditorProvider>;
4
- export default CyberEditorProvider;
@@ -1,4 +0,0 @@
1
- declare const HeadingDropdown: ({ editor }: {
2
- editor: any;
3
- }) => import("react/jsx-runtime").JSX.Element | null;
4
- export default HeadingDropdown;
@@ -1,13 +0,0 @@
1
- import { Node } from '@tiptap/core';
2
- declare module '@tiptap/core' {
3
- interface Commands<ReturnType> {
4
- customImage: {
5
- setImage: (attrs?: {
6
- src?: string;
7
- width?: number;
8
- height?: number;
9
- }) => ReturnType;
10
- };
11
- }
12
- }
13
- export declare const ImageExtension: Node<any, any>;
@@ -1,9 +0,0 @@
1
- import { NodeViewProps } from '@tiptap/react';
2
- import React from 'react';
3
- import 'react-resizable/css/styles.css';
4
- import { Editor } from '@tiptap/react';
5
- interface ImageViewProps extends NodeViewProps {
6
- editor: Editor;
7
- }
8
- export declare const ImageView: React.FC<ImageViewProps>;
9
- export {};
@@ -1,2 +0,0 @@
1
- export * from './accordion';
2
- export * from './tool-bar';
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import type { Editor } from "@tiptap/react";
3
- interface I_TableSelectorProps {
4
- editor: Editor;
5
- buttonClass: string;
6
- activeClass: string;
7
- }
8
- export declare const TableSelector: React.FC<I_TableSelectorProps>;
9
- export {};
@@ -1,2 +0,0 @@
1
- declare function CyberExtensions({ editor }: any): import("react/jsx-runtime").JSX.Element;
2
- export default CyberExtensions;
@@ -1,2 +0,0 @@
1
- export * from './tool-bar-tiptap';
2
- export * from './tool-bar-cyber';
@@ -1 +0,0 @@
1
- export declare const ToolBarCyber: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function ToolBarTiptap({ editor }: any): import("react/jsx-runtime").JSX.Element | null;
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export { default as CyberEditorProvider } from './extensions/editor-provider';
@@ -1 +0,0 @@
1
- export declare const extensions: (import("@tiptap/core").Node<any, any> | import("@tiptap/core").Extension<import("@tiptap/extension-color").ColorOptions, any> | import("@tiptap/core").Extension<import("@tiptap/starter-kit").StarterKitOptions, any> | import("@tiptap/core").Mark<import("@tiptap/extension-underline").UnderlineOptions, any>)[];
@@ -1,2 +0,0 @@
1
- export * from './extensions';
2
- export * from './interfaces';
@@ -1,8 +0,0 @@
1
- export interface I_CyberEditorProvider {
2
- content?: string;
3
- slotBefore?: boolean;
4
- className?: string;
5
- editorClassName?: string;
6
- editable?: boolean;
7
- onChange?: (content: string) => void;
8
- }