ct-rich-text-editor 1.2.2 → 1.2.4

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.
package/dist/index.js CHANGED
@@ -1,9 +1,11 @@
1
- import { m as E, l as g, E as n, g as v, n as h, k as C, h as b, v as w } from "./index-7dc03909.js";
1
+ import { k as v, j as h, E as n, f as C, l as b, h as w, g as y, v as A } from "./index-bd25a91b.js";
2
+ import "react/jsx-dev-runtime";
2
3
  import "react";
3
4
  import "axios";
4
5
  import "@emotion/styled";
5
6
  import "lexical";
6
7
  import "@lexical/utils";
8
+ import "react/jsx-runtime";
7
9
  import "react-dom";
8
10
  import "@lexical/table";
9
11
  import "@lexical/code";
@@ -11,13 +13,13 @@ import "@lexical/link";
11
13
  import "@emotion/react";
12
14
  import "emoji-picker-react";
13
15
  export {
14
- E as ConfigurableEditor,
15
- g as ConfigurableEditorWithAuth,
16
+ v as ConfigurableEditor,
17
+ h as ConfigurableEditorWithAuth,
16
18
  n as EditorProvider,
17
- v as HtmlViewProvider,
18
- h as defaultEditorConfig,
19
- C as useEditor,
20
- b as useHtmlView,
21
- w as verifyApiKey
19
+ C as HtmlViewProvider,
20
+ b as defaultEditorConfig,
21
+ w as useEditor,
22
+ y as useHtmlView,
23
+ A as verifyApiKey
22
24
  };
23
25
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+
2
+ export default function GrammarCheckPlugin(): JSX.Element | null;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function SlashCommandPlugin(): JSX.Element | null;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+
3
+ declare const WordCountPlugin: React.FC;
4
+ export default WordCountPlugin;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ct-rich-text-editor",
3
3
  "private": false,
4
- "version": "1.2.2",
4
+ "version": "1.2.4",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@9.0.0",
7
7
  "main": "dist/index.js",
@@ -77,9 +77,7 @@
77
77
  "lodash-es": "^4.17.21",
78
78
  "lucide-react": "^0.344.0",
79
79
  "prettier": "^3.5.1",
80
- "react": "^18.2.0",
81
80
  "react-colorful": "^5.6.1",
82
- "react-dom": "^18.2.0",
83
81
  "react-router-dom": "^7.2.0",
84
82
  "react-signature-canvas": "^1.1.0-alpha.1",
85
83
  "sass": "^1.57.1",
@@ -109,6 +107,8 @@
109
107
  "husky": "^9.1.7",
110
108
  "lint-staged": "^15.4.3",
111
109
  "postcss": "^8.4.35",
110
+ "react": "^18.2.0",
111
+ "react-dom": "^18.2.0",
112
112
  "typescript": "^4.9.3",
113
113
  "vite": "^4.0.0",
114
114
  "vite-plugin-dts": "^4.5.3",