@ylzcc/editor 0.0.5 → 0.0.6

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.
@@ -19,7 +19,6 @@ export interface CodeBlockOptions {
19
19
  * Custom HTML attributes that should be added to the rendered HTML tag.
20
20
  */
21
21
  HTMLAttributes: Record<string, any>;
22
- onExec?: (value: any) => void;
23
22
  }
24
23
  declare module '@tiptap/core' {
25
24
  interface Commands<ReturnType> {
@@ -2,5 +2,6 @@ import { CodeBlockOptions } from '../CodeBlock';
2
2
  export interface CodeBlockLowlightOptions extends CodeBlockOptions {
3
3
  lowlight: any;
4
4
  defaultLanguage: string | null | undefined;
5
+ onExec?: (value: string) => void;
5
6
  }
6
7
  export declare const CodeBlockLowlight: import("@tiptap/react").Node<CodeBlockLowlightOptions, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ylzcc/editor",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "description": "editor ui components",
6
6
  "keywords": [
@@ -57,7 +57,7 @@
57
57
  "@tiptap/react": "^2.2.4",
58
58
  "@tiptap/suggestion": "^2.2.4",
59
59
  "@wangeditor/editor": "^5.1.23",
60
- "@ylzcc/remark-code": "^0.0.5",
60
+ "@ylzcc/remark-code": "^0.0.6",
61
61
  "@ylzcc/xterm": "1.4.2",
62
62
  "antd": "^5.15.0",
63
63
  "axios": "^1.6.7",