@contentful/field-editor-rich-text 0.24.1-next → 0.26.2-next
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/field-editor-rich-text.cjs.development.js +57 -14
- package/dist/field-editor-rich-text.cjs.development.js.map +1 -1
- package/dist/field-editor-rich-text.cjs.production.min.js +1 -1
- package/dist/field-editor-rich-text.cjs.production.min.js.map +1 -1
- package/dist/field-editor-rich-text.esm.js +59 -16
- package/dist/field-editor-rich-text.esm.js.map +1 -1
- package/dist/helpers/validations.d.ts +2 -1
- package/dist/plugins/List/index.d.ts +1 -0
- package/package.json +9 -9
|
@@ -4,6 +4,7 @@ export declare const VALIDATIONS: {
|
|
|
4
4
|
ENABLED_MARKS: string;
|
|
5
5
|
ENABLED_NODE_TYPES: string;
|
|
6
6
|
};
|
|
7
|
+
export declare const DEFAULT_ENABLED_NODE_TYPES: string[];
|
|
7
8
|
export declare const VALIDATABLE_NODE_TYPES: (BLOCKS | INLINES)[];
|
|
8
9
|
export declare const isNodeTypeEnabled: (field: FieldExtensionSDK['field'], nodeType: any) => boolean;
|
|
9
|
-
export declare const isMarkEnabled: (field: FieldExtensionSDK['field'], mark: any) =>
|
|
10
|
+
export declare const isMarkEnabled: (field: FieldExtensionSDK['field'], mark: any) => boolean;
|
|
@@ -11,4 +11,5 @@ export declare const UL: (props: Slate.RenderElementProps) => JSX.Element;
|
|
|
11
11
|
export declare const OL: (props: Slate.RenderElementProps) => JSX.Element;
|
|
12
12
|
export declare const LI: (props: Slate.RenderElementProps) => JSX.Element;
|
|
13
13
|
export declare const withListOptions: CustomSlatePluginOptions;
|
|
14
|
+
export declare const createListPlugin: () => import("@udecode/plate-core").PlatePlugin<import("@udecode/plate-core").SPEditor>;
|
|
14
15
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-rich-text",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.2-next",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"tag": "next"
|
|
6
6
|
},
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"@contentful/field-editor-shared": "^0.24.0",
|
|
33
33
|
"@contentful/forma-36-react-components": "^3.98.3",
|
|
34
34
|
"@contentful/rich-text-types": "^15.3.6",
|
|
35
|
-
"@udecode/plate-break": "^
|
|
36
|
-
"@udecode/plate-common": "^
|
|
37
|
-
"@udecode/plate-core": "^3.
|
|
38
|
-
"@udecode/plate-html-serializer": "^
|
|
39
|
-
"@udecode/plate-list": "^
|
|
40
|
-
"@udecode/plate-paragraph": "^
|
|
41
|
-
"@udecode/plate-table": "^
|
|
42
|
-
"@udecode/plate-trailing-block": "^
|
|
35
|
+
"@udecode/plate-break": "^4.4.0",
|
|
36
|
+
"@udecode/plate-common": "^4.4.0",
|
|
37
|
+
"@udecode/plate-core": "^4.3.7",
|
|
38
|
+
"@udecode/plate-html-serializer": "^4.4.0",
|
|
39
|
+
"@udecode/plate-list": "^4.4.0",
|
|
40
|
+
"@udecode/plate-paragraph": "^4.4.0",
|
|
41
|
+
"@udecode/plate-table": "^4.4.0",
|
|
42
|
+
"@udecode/plate-trailing-block": "^4.4.0",
|
|
43
43
|
"fast-deep-equal": "^3.1.3",
|
|
44
44
|
"react": ">=16.14.0",
|
|
45
45
|
"slate": "^0.66.1",
|