@mdxeditor/editor 3.5.0 → 3.6.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/index.d.ts +16 -4
- package/dist/plugins/core/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1021,7 +1021,11 @@ export declare type EditorSubscription = (activeEditor: LexicalEditor) => () =>
|
|
|
1021
1021
|
|
|
1022
1022
|
/* Excluded from this release type: ExportMarkdownFromLexicalOptions */
|
|
1023
1023
|
|
|
1024
|
-
|
|
1024
|
+
/**
|
|
1025
|
+
* Contains the currently registered export vistors.
|
|
1026
|
+
* @group Core
|
|
1027
|
+
*/
|
|
1028
|
+
export declare const exportVisitors$: NodeRef< LexicalVisitor[]>;
|
|
1025
1029
|
|
|
1026
1030
|
/**
|
|
1027
1031
|
* @group JSX
|
|
@@ -1268,7 +1272,11 @@ export declare interface ImportPoint {
|
|
|
1268
1272
|
getType(): string;
|
|
1269
1273
|
}
|
|
1270
1274
|
|
|
1271
|
-
|
|
1275
|
+
/**
|
|
1276
|
+
* Contains the currently registered import vistors.
|
|
1277
|
+
* @group Core
|
|
1278
|
+
*/
|
|
1279
|
+
export declare const importVisitors$: NodeRef<MdastImportVisitor<Mdast.Nodes>[]>;
|
|
1272
1280
|
|
|
1273
1281
|
/**
|
|
1274
1282
|
* The state of the image dialog when it is inactive.
|
|
@@ -2516,7 +2524,7 @@ export declare const switchFromPreviewToLinkEdit$: NodeRef<void>;
|
|
|
2516
2524
|
|
|
2517
2525
|
/* Excluded from this release type: SyntaxExtension */
|
|
2518
2526
|
|
|
2519
|
-
|
|
2527
|
+
export declare const syntaxExtensions$: NodeRef< Extension[]>;
|
|
2520
2528
|
|
|
2521
2529
|
/**
|
|
2522
2530
|
* A Lexical node that represents a markdown table.
|
|
@@ -2661,7 +2669,11 @@ export declare const updateLink$: NodeRef<{
|
|
|
2661
2669
|
*/
|
|
2662
2670
|
export declare function useCodeBlockEditorContext(): CodeBlockEditorContextValue;
|
|
2663
2671
|
|
|
2664
|
-
|
|
2672
|
+
/**
|
|
2673
|
+
* Contains the currently registered lexical nodes.
|
|
2674
|
+
* @group Core
|
|
2675
|
+
*/
|
|
2676
|
+
export declare const usedLexicalNodes$: NodeRef< KlassConstructor<typeof LexicalNode>[]>;
|
|
2665
2677
|
|
|
2666
2678
|
/**
|
|
2667
2679
|
* A hook that returns a function that removes the lexical node from the editor.
|
|
@@ -97,9 +97,9 @@ const mutableMarkdownSignal$ = Signal((r) => {
|
|
|
97
97
|
);
|
|
98
98
|
});
|
|
99
99
|
const importVisitors$ = Cell([]);
|
|
100
|
+
const usedLexicalNodes$ = Cell([]);
|
|
100
101
|
const syntaxExtensions$ = Cell([]);
|
|
101
102
|
const mdastExtensions$ = Cell([]);
|
|
102
|
-
const usedLexicalNodes$ = Cell([]);
|
|
103
103
|
const exportVisitors$ = Cell([]);
|
|
104
104
|
const toMarkdownExtensions$ = Cell([]);
|
|
105
105
|
const toMarkdownOptions$ = Cell({});
|