@uxf/wysiwyg 11.122.4 → 11.123.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uxf/wysiwyg",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.123.0",
|
|
4
4
|
"description": "UXF Wysiwyg editor",
|
|
5
5
|
"author": "Robin Dvorak <dvorak@uxf.cz>",
|
|
6
6
|
"homepage": "https://gitlab.com/uxf-npm/wysiwyg",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "tsc -P tsconfig.json",
|
|
13
|
-
"typecheck": "tsc --noEmit
|
|
13
|
+
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@udecode/plate-basic-marks": "20.7.2",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"@udecode/slate": "19.8.0",
|
|
32
32
|
"@udecode/slate-react": "19.7.1",
|
|
33
33
|
"@udecode/slate-utils": "19.7.1",
|
|
34
|
-
"@uxf/core": "11.
|
|
35
|
-
"@uxf/core-react": "11.
|
|
36
|
-
"@uxf/ui": "11.
|
|
34
|
+
"@uxf/core": "11.123.0",
|
|
35
|
+
"@uxf/core-react": "11.123.0",
|
|
36
|
+
"@uxf/ui": "11.123.0",
|
|
37
37
|
"react": ">=18.2.0",
|
|
38
38
|
"react-dom": ">=18.2.0",
|
|
39
39
|
"slate": "0.90.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"slate-react": "0.91.11"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@types/react": "18.3.
|
|
45
|
+
"@types/react": "18.3.31",
|
|
46
46
|
"@types/react-dom": "18.3.7",
|
|
47
47
|
"@udecode/plate-basic-marks": "20.7.2",
|
|
48
48
|
"@udecode/plate-block-quote": "20.7.2",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@udecode/slate": "19.8.0",
|
|
63
63
|
"@udecode/slate-react": "19.7.1",
|
|
64
64
|
"@udecode/slate-utils": "19.7.1",
|
|
65
|
-
"@uxf/core": "11.
|
|
66
|
-
"@uxf/core-react": "11.
|
|
67
|
-
"@uxf/ui": "11.
|
|
65
|
+
"@uxf/core": "11.123.0",
|
|
66
|
+
"@uxf/core-react": "11.123.0",
|
|
67
|
+
"@uxf/ui": "11.123.0",
|
|
68
68
|
"react": "18.3.1",
|
|
69
69
|
"react-dom": "18.3.1",
|
|
70
70
|
"slate": "0.90.0",
|
|
@@ -5,4 +5,4 @@ export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
|
5
5
|
export interface HeadingsPluginOptions {
|
|
6
6
|
disabledLevels?: HeadingLevel[];
|
|
7
7
|
}
|
|
8
|
-
export declare const createHeadingsPlugin: <OP = HeadingsPluginOptions, OV extends import("@udecode/
|
|
8
|
+
export declare const createHeadingsPlugin: <OP = HeadingsPluginOptions, OV extends import("@udecode/slate").Value = WysiwygContent, OE extends import("@udecode/plate-core").PlateEditor<OV> = import("@udecode/plate-core").PlateEditor<OV>>(override?: Partial<import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>> | undefined, overrideByKey?: import("@udecode/plate-core").OverrideByKey<OV, OE> | undefined) => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").NoInfer<OP>, OV, OE>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { WysiwygContent } from "../../types";
|
|
2
2
|
import { HighlightPluginOptions } from "./types";
|
|
3
|
-
export declare const createHighlightPlugin: (color?: HighlightPluginOptions["color"]) => import("@udecode/plate-
|
|
3
|
+
export declare const createHighlightPlugin: (color?: HighlightPluginOptions["color"]) => import("@udecode/plate-core").PlatePlugin<HighlightPluginOptions, WysiwygContent, import("@udecode/plate-core").PlateEditor<WysiwygContent>>;
|
|
@@ -3,9 +3,9 @@ import { UseVirtualFloatingOptions } from "@udecode/plate-floating";
|
|
|
3
3
|
export type FloatingLinkProps = HTMLPropsAs<"div"> & {
|
|
4
4
|
floatingOptions?: UseVirtualFloatingOptions;
|
|
5
5
|
};
|
|
6
|
-
export declare const FloatingLinkEditRoot: import("@udecode/plate-
|
|
7
|
-
export declare const FloatingLinkInsertRoot: import("@udecode/plate-
|
|
6
|
+
export declare const FloatingLinkEditRoot: import("@udecode/plate-utils").Component<FloatingLinkProps>;
|
|
7
|
+
export declare const FloatingLinkInsertRoot: import("@udecode/plate-utils").Component<FloatingLinkProps>;
|
|
8
8
|
export declare const FloatingLinkWrapper: {
|
|
9
|
-
EditRoot: import("@udecode/plate-
|
|
10
|
-
InsertRoot: import("@udecode/plate-
|
|
9
|
+
EditRoot: import("@udecode/plate-utils").Component<FloatingLinkProps>;
|
|
10
|
+
InsertRoot: import("@udecode/plate-utils").Component<FloatingLinkProps>;
|
|
11
11
|
};
|
package/utils.d.ts
CHANGED
|
@@ -3,15 +3,15 @@ import { FindNodeOptions, GetNodeEntriesOptions } from "@udecode/slate";
|
|
|
3
3
|
import { ToggleMarkOptions } from "@udecode/slate-utils";
|
|
4
4
|
import { Location } from "slate";
|
|
5
5
|
import { UxfBlockElement, UxfEditor, WysiwygContent } from "./types";
|
|
6
|
-
export declare const getUxfEditor: (editor: UxfEditor) => import("@udecode/
|
|
7
|
-
operations: import("@udecode/
|
|
8
|
-
isInline: (element: import("@udecode/
|
|
9
|
-
isVoid: (element: import("@udecode/
|
|
10
|
-
normalizeNode: (entry: import("@udecode/
|
|
11
|
-
apply: (operation: import("@udecode/
|
|
12
|
-
getFragment: () => import("@udecode/
|
|
13
|
-
insertFragment: (fragment: import("@udecode/
|
|
14
|
-
insertNode: (node: import("@udecode/
|
|
6
|
+
export declare const getUxfEditor: (editor: UxfEditor) => import("@udecode/utils").Modify<UxfEditor, {
|
|
7
|
+
operations: import("@udecode/slate").TOperation<import("@udecode/slate").EElementOrText<WysiwygContent>>[];
|
|
8
|
+
isInline: (element: import("@udecode/slate").TElement | import("./types").LicElement | import("./types").LiElement | import("./types").WysiwygRootBlock) => boolean;
|
|
9
|
+
isVoid: (element: import("@udecode/slate").TElement | import("./types").LicElement | import("./types").LiElement | import("./types").WysiwygRootBlock) => boolean;
|
|
10
|
+
normalizeNode: (entry: import("@udecode/slate").TNodeEntry<import("@udecode/slate").ENode<WysiwygContent>>) => void;
|
|
11
|
+
apply: (operation: import("@udecode/slate").TOperation<import("@udecode/slate").EElementOrText<WysiwygContent>>) => void;
|
|
12
|
+
getFragment: () => import("@udecode/slate").EElementOrText<WysiwygContent>[];
|
|
13
|
+
insertFragment: (fragment: import("@udecode/slate").EElementOrText<WysiwygContent>[]) => void;
|
|
14
|
+
insertNode: (node: import("@udecode/slate").EElementOrText<WysiwygContent> | import("@udecode/slate").EElementOrText<WysiwygContent>[]) => void;
|
|
15
15
|
}>;
|
|
16
16
|
export declare const getPluginOptions: <P = PluginOptions>(editor: UxfEditor, pluginKey: string) => P;
|
|
17
17
|
export declare const getPluginType: (editor: UxfEditor, key: string) => string;
|