@arkitektbedriftene/fe-lib 3.0.0 → 4.1.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/dist/rich-text/Plugins/RutineLinkNode.d.ts +0 -4
- package/dist/rich-text/state.d.ts +2 -1
- package/dist/rich-text.es.js +241 -240
- package/package.json +12 -12
|
@@ -15,8 +15,6 @@ export declare class RutineLinkNode extends LinkNode {
|
|
|
15
15
|
direction: "ltr" | "rtl" | null;
|
|
16
16
|
format: import("lexical").ElementFormatType;
|
|
17
17
|
indent: number;
|
|
18
|
-
textFormat?: number | undefined;
|
|
19
|
-
textStyle?: string | undefined;
|
|
20
18
|
rel?: string | null | undefined;
|
|
21
19
|
target?: string | null | undefined;
|
|
22
20
|
title?: string | null | undefined;
|
|
@@ -28,8 +26,6 @@ export declare class RutineLinkNode extends LinkNode {
|
|
|
28
26
|
direction: "ltr" | "rtl" | null;
|
|
29
27
|
format: import("lexical").ElementFormatType;
|
|
30
28
|
indent: number;
|
|
31
|
-
textFormat?: number | undefined;
|
|
32
|
-
textStyle?: string | undefined;
|
|
33
29
|
rel?: string | null | undefined;
|
|
34
30
|
target?: string | null | undefined;
|
|
35
31
|
title?: string | null | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type EditorState, type CreateEditorArgs, type SerializedEditorState, type LexicalEditor } from "lexical";
|
|
1
|
+
import { type EditorState, type CreateEditorArgs, type SerializedEditorState, type LexicalEditor, type LexicalNode, type Klass } from "lexical";
|
|
2
2
|
export declare const isJSON: (str: string) => boolean;
|
|
3
3
|
export declare const isEditorState: (state: unknown) => state is EditorState;
|
|
4
4
|
export declare const clearEditorState: (editor: LexicalEditor, tag?: string) => void;
|
|
@@ -18,3 +18,4 @@ export declare const syncStateToHTML: (state: SerializedEditorState | string | n
|
|
|
18
18
|
html: string;
|
|
19
19
|
trimCount: number;
|
|
20
20
|
};
|
|
21
|
+
export declare const $getNodesOfTypes: <T extends LexicalNode>(klasses: Klass<T>[]) => T[];
|