eddyter 1.4.19 → 1.4.20-beta.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.
- package/README.md +6 -3
- package/dist/{AIChatPlugin-BUWq8ixX.js → AIChatPlugin-XDBXQanb.js} +3 -3
- package/dist/{CombinedAutocompletGrammarPlugin-Dq25w8tq.js → CombinedAutocompletGrammarPlugin-BRBmG7Uo.js} +186 -167
- package/dist/{CommentBubblePlugin-B77d3Qq6.js → CommentBubblePlugin-BALioirG.js} +1 -1
- package/dist/{CommentPlugin-BJQyKmrN.js → CommentPlugin-CHmC9IZh.js} +2 -2
- package/dist/{NotePanelPlugin-BqOdcg07.js → NotePanelPlugin-CPGzqjuk.js} +1 -1
- package/dist/{TextEnhancePlugin-BnmdRgUu.js → TextEnhancePlugin-DgC4kmVA.js} +2 -2
- package/dist/assets/style.css +1 -1
- package/dist/components/FormatTextMenu/FormatTextMenu.d.ts +5 -0
- package/dist/components/InsertVideoDialog.d.ts +7 -0
- package/dist/components/ListMenu/ListMenu.d.ts +10 -0
- package/dist/components/ListMenu/index.d.ts +1 -0
- package/dist/components/NewBadge/NewBadge.d.ts +5 -0
- package/dist/components/NewBadge/NewDot.d.ts +9 -0
- package/dist/components/Toolbar/styles.d.ts +2 -2
- package/dist/{generateDocxThumbnail-DBMxjZ83.js → generateDocxThumbnail-BTxOqVy6.js} +1 -1
- package/dist/{generatePdfThumbnail-Cv2-ZCzh.js → generatePdfThumbnail-bcpGGSUp.js} +1 -1
- package/dist/{generateXlsxThumbnail-UHmNc7Fa.js → generateXlsxThumbnail-BWM1cmSl.js} +1 -1
- package/dist/hooks/useNewFeatures.d.ts +5 -0
- package/dist/{index-Bex3G_eE.js → index-0VTRLfjb.js} +15648 -14919
- package/dist/{index-ChSepytp.js → index-BNICgdB-.js} +21 -21
- package/dist/{index-q_TW8dU1.js → index-BxOZNLwu.js} +4 -4
- package/dist/{index-C_mjLQUF.js → index-DDSVx-B8.js} +2 -2
- package/dist/{index-Cl_A9eof.js → index-DRLZF4xQ.js} +193 -198
- package/dist/{index-BaWQzoL2.js → index-DZESLGLB.js} +1 -1
- package/dist/{index-DcHU8PlQ.js → index-FZ7Aopvl.js} +73 -73
- package/dist/index.d.ts +0 -1
- package/dist/index.js +12 -13
- package/dist/nodes/ButtonNode.d.ts +15 -2
- package/dist/nodes/documentPalette.d.ts +24 -0
- package/dist/plugins/WordCountPlugin.d.ts +2 -0
- package/dist/{sparkles-C-XoMho5.js → sparkles-DIeZhywG.js} +1 -1
- package/dist/types.d.ts +6 -0
- package/dist/ui/Icons.d.ts +7 -1
- package/dist/{useVoiceToText-BzaLSbRi.js → useVoiceToText-sR--QAUC.js} +1 -1
- package/dist/utils/neutralTextColor.d.ts +22 -0
- package/dist/utils/newFeatures.d.ts +13 -0
- package/dist/utils/notePanelPaste.d.ts +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
EditorProvider,
|
|
58
58
|
defaultEditorConfig
|
|
59
59
|
} from 'eddyter';
|
|
60
|
-
import 'eddyter/style.css';
|
|
60
|
+
import 'eddyter/style.css'; // REQUIRED — the editor is unstyled without this import
|
|
61
61
|
|
|
62
62
|
function App() {
|
|
63
63
|
const apiKey = process.env.NEXT_PUBLIC_EDITOR_API_KEY!;
|
|
@@ -490,8 +490,7 @@ export const RichTextEditor: React.FC<RichTextEditorProps> = ({
|
|
|
490
490
|
```ts
|
|
491
491
|
// Components
|
|
492
492
|
import {
|
|
493
|
-
ConfigurableEditorWithAuth, // Main editor
|
|
494
|
-
ConfigurableEditor, // Editor without auth wrapper
|
|
493
|
+
ConfigurableEditorWithAuth, // Main editor (requires a valid license key)
|
|
495
494
|
EditorProvider, // Context provider
|
|
496
495
|
LinkPreviewHover, // Standalone link preview component
|
|
497
496
|
} from 'eddyter';
|
|
@@ -519,6 +518,10 @@ import type {
|
|
|
519
518
|
} from 'eddyter';
|
|
520
519
|
```
|
|
521
520
|
|
|
521
|
+
> Feature availability (toolbar buttons, AI, etc.) is controlled by the plan tied
|
|
522
|
+
> to your license key — configured in the Eddyter dashboard, **not** from code.
|
|
523
|
+
> `ConfigurableEditorWithAuth` has no `config`/`toolbarOptions` prop.
|
|
524
|
+
|
|
522
525
|
## License
|
|
523
526
|
|
|
524
527
|
Eddyter is **proprietary software**.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as e, Fragment as tt, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as xt, T as Vt, w as Bt, x as Tt, y as Pt, D as yt, a as Nt, b as wt, d as kt, z as Ut, G as Mt, H as Rt, J as zt, K as Lt, M as U, L as Wt, O as Yt, Q as Ft, U as Jt, B as at, V as Qt, W as Xt, X as Zt, Y as te, Z as ee, _ as $t, e as re, g as oe, a0 as ht, a1 as ie, a2 as Dt, t as pt } from "./index-
|
|
2
|
+
import { c as xt, T as Vt, w as Bt, x as Tt, y as Pt, D as yt, a as Nt, b as wt, d as kt, z as Ut, G as Mt, H as Rt, J as zt, K as Lt, M as U, L as Wt, O as Yt, Q as Ft, U as Jt, B as at, V as Qt, W as Xt, X as Zt, Y as te, Z as ee, _ as $t, e as re, g as oe, a0 as ht, a1 as ie, a2 as Dt, t as pt } from "./index-0VTRLfjb.js";
|
|
3
3
|
import { useLexicalComposerContext as de } from "@lexical/react/LexicalComposerContext";
|
|
4
4
|
import { $getSelection as ct, COMMAND_PRIORITY_LOW as Ct, $isRangeSelection as St } from "lexical";
|
|
5
5
|
import { useState as d, useRef as W, useCallback as K, useEffect as $, useMemo as Et } from "react";
|
|
6
|
-
import { u as ce, M as ne } from "./useVoiceToText-
|
|
7
|
-
import { S as Ot } from "./sparkles-
|
|
6
|
+
import { u as ce, M as ne } from "./useVoiceToText-sR--QAUC.js";
|
|
7
|
+
import { S as Ot } from "./sparkles-DIeZhywG.js";
|
|
8
8
|
const lt = xt("ArrowUpRight", [
|
|
9
9
|
["path", { d: "M7 7h10v10", key: "1tivn9" }],
|
|
10
10
|
["path", { d: "M7 17 17 7", key: "1vkiza" }]
|