eddyter 1.3.53 → 1.3.54
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/assets/style.css +1 -1
- package/dist/components/FloatingHighlightColorPicker/index.d.ts +9 -0
- package/dist/constants.d.ts +3 -1
- package/dist/{html2pdf.bundle-fbac7142.js → html2pdf.bundle-4b5f93b6.js} +1 -1
- package/dist/{html2pdf.bundle.min-13392d4b.js → html2pdf.bundle.min-01d8363a.js} +1 -1
- package/dist/{index-ace45f64.js → index-0e44c579.js} +1 -1
- package/dist/{index-006b2aae.js → index-6ba9ffa3.js} +8375 -7986
- package/dist/{index-a38293b8.js → index-dfc07a23.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/nodes/FileNode.d.ts +2 -1
- package/dist/nodes/UploadingFileNode.d.ts +30 -0
- package/dist/nodes/UploadingImageNode.d.ts +30 -0
- package/dist/plugins/DragDropPastePlugin/indexs.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface FloatingHighlightColorPickerProps {
|
|
3
|
+
onHighlightChange: (color: string | null) => void;
|
|
4
|
+
onTextColorChange?: (color: string | null) => void;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
currentHighlightColor?: string | null;
|
|
7
|
+
}
|
|
8
|
+
declare const FloatingHighlightColorPicker: FC<FloatingHighlightColorPickerProps>;
|
|
9
|
+
export default FloatingHighlightColorPicker;
|
package/dist/constants.d.ts
CHANGED
|
@@ -17,8 +17,10 @@ import { NotePanelNode } from './nodes/NotePanelNode';
|
|
|
17
17
|
import { ChartNode } from './nodes/ChartNode';
|
|
18
18
|
import { CustomHorizontalRuleNode } from './plugins/CustomHorizontalRulePlugin';
|
|
19
19
|
import { AlignMenuItem, FormatTextMenuItem } from './types';
|
|
20
|
+
import { UploadingImageNode } from './nodes/UploadingImageNode';
|
|
21
|
+
import { UploadingFileNode } from './nodes/UploadingFileNode';
|
|
20
22
|
export declare const theme: EditorThemeClasses;
|
|
21
|
-
export declare const EDITOR_NODES: (typeof CommentedTextNode | typeof CommentNode | typeof EmbedNode | typeof FileNode | typeof LinkNode | typeof CodeNode | typeof ImageNode | typeof MentionNode | typeof NotePanelNode | typeof ChartNode | typeof CustomHorizontalRuleNode | typeof HorizontalRuleNode | typeof CodeHighlightNode | typeof HeadingNode | typeof QuoteNode | typeof ListNode | typeof ListItemNode | typeof TableNode | typeof TableCellNode | typeof TableRowNode)[];
|
|
23
|
+
export declare const EDITOR_NODES: (typeof CommentedTextNode | typeof CommentNode | typeof EmbedNode | typeof FileNode | typeof LinkNode | typeof CodeNode | typeof ImageNode | typeof MentionNode | typeof NotePanelNode | typeof ChartNode | typeof CustomHorizontalRuleNode | typeof HorizontalRuleNode | typeof UploadingImageNode | typeof UploadingFileNode | typeof CodeHighlightNode | typeof HeadingNode | typeof QuoteNode | typeof ListNode | typeof ListItemNode | typeof TableNode | typeof TableCellNode | typeof TableRowNode)[];
|
|
22
24
|
export declare const initialConfig: InitialConfigType;
|
|
23
25
|
export declare const blockTypeToBlockName: {
|
|
24
26
|
bullet: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Gu = Object.defineProperty;
|
|
2
2
|
var zu = (fo, ho, qi) => ho in fo ? Gu(fo, ho, { enumerable: !0, configurable: !0, writable: !0, value: qi }) : fo[ho] = qi;
|
|
3
3
|
var fn = (fo, ho, qi) => (zu(fo, typeof ho != "symbol" ? ho + "" : ho, qi), qi);
|
|
4
|
-
import { g as Wu, c as ql } from "./index-
|
|
4
|
+
import { g as Wu, c as ql } from "./index-6ba9ffa3.js";
|
|
5
5
|
function Xu(fo, ho) {
|
|
6
6
|
for (var qi = 0; qi < ho.length; qi++) {
|
|
7
7
|
const Ko = ho[qi];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var tc = Object.defineProperty;
|
|
2
2
|
var ec = (Si, Li, Gs) => Li in Si ? tc(Si, Li, { enumerable: !0, configurable: !0, writable: !0, value: Gs }) : Si[Li] = Gs;
|
|
3
3
|
var en = (Si, Li, Gs) => (ec(Si, typeof Li != "symbol" ? Li + "" : Li, Gs), Gs);
|
|
4
|
-
import { g as Ac, c as Ma } from "./index-
|
|
4
|
+
import { g as Ac, c as Ma } from "./index-6ba9ffa3.js";
|
|
5
5
|
function rc(Si, Li) {
|
|
6
6
|
for (var Gs = 0; Gs < Li.length; Gs++) {
|
|
7
7
|
const qs = Li[Gs];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { useLexicalComposerContext as v } from "@lexical/react/LexicalComposerContext";
|
|
3
3
|
import { $getNodeByKey as w } from "lexical";
|
|
4
|
-
import { q as k, r as F, F as y, s as N, u as C, v as D } from "./index-
|
|
4
|
+
import { q as k, r as F, F as y, s as N, u as C, v as D } from "./index-6ba9ffa3.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "axios";
|
|
7
7
|
import "react-dom";
|