cvnert-editor 0.1.2 → 0.1.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.
@@ -0,0 +1,2 @@
1
+ export declare const CodeBlock: import("@tiptap/core").Node<import("@tiptap/extension-code-block").CodeBlockOptions, any>;
2
+ export default CodeBlock;
@@ -0,0 +1,2 @@
1
+ import type { NodeViewProps } from "@tiptap/react";
2
+ export declare function CodeBlockNodeView(props: NodeViewProps): import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { EChartsOption } from "echarts";
2
+ export type DiagramRendererType = "echarts" | "mermaid";
3
+ export declare function isMermaidDiagramLanguage(language: string): boolean;
4
+ export declare function getDiagramRendererType(language: string): DiagramRendererType | null;
5
+ export declare function normalizeDiagramCode(code: string): string;
6
+ export declare function parseEchartsOption(code: string): EChartsOption;
@@ -25,4 +25,4 @@ export declare function EditorProvider(props: EditorProviderProps): import("reac
25
25
  /**
26
26
  * Full local editor with all necessary providers.
27
27
  */
28
- export declare function OmniboxEditor({ editable, placeholder, content, variant, showHeader, showToc, onUpdate, imageUpload, imageUploadMaxSize, imageUploadLimit, onImageUploadError, onImageUploadSuccess, }: OmniboxEditorProps): import("react").JSX.Element;
28
+ export declare function OmniboxEditor({ editable, placeholder, content, contentWidth, variant, showHeader, showToc, onUpdate, imageUpload, imageUploadMaxSize, imageUploadLimit, onImageUploadError, onImageUploadSuccess, }: OmniboxEditorProps): import("react").JSX.Element;