@contentful/field-editor-rich-text 0.26.3-next → 0.26.4-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/ContentfulEditorProvider.d.ts +2 -2
- package/dist/field-editor-rich-text.cjs.development.js +48 -67
- 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 +49 -68
- package/dist/field-editor-rich-text.esm.js.map +1 -1
- package/dist/plugins/Paste/sanitizers/helpers.d.ts +2 -0
- package/dist/plugins/Paste/sanitizers/index.d.ts +1 -0
- package/dist/plugins/Paste/sanitizers/sanitizeEntityBlocks.d.ts +6 -0
- package/package.json +4 -4
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { SPEditor } from '@udecode/plate-core';
|
|
2
2
|
export declare type SanitizerTuple = [Document, SPEditor];
|
|
3
3
|
declare type Predicate = (node: ChildNode) => boolean;
|
|
4
|
+
export declare const isHTMLElement: (node: ChildNode) => node is HTMLElement;
|
|
5
|
+
export declare const removeChildNodes: (node: ChildNode, predicate?: Predicate) => void;
|
|
4
6
|
export declare const removeChildNodesUsingPredicate: (predicate: Predicate) => (nodeList: NodeList) => Node[];
|
|
5
7
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-rich-text",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.4-next",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"tag": "next"
|
|
6
6
|
},
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"@udecode/plate-trailing-block": "^4.4.0",
|
|
43
43
|
"fast-deep-equal": "^3.1.3",
|
|
44
44
|
"react": ">=16.14.0",
|
|
45
|
-
"slate": "^0.66.
|
|
45
|
+
"slate": "^0.66.5",
|
|
46
46
|
"slate-history": "^0.66.0",
|
|
47
|
-
"slate-hyperscript": "^0.
|
|
48
|
-
"slate-react": "^0.
|
|
47
|
+
"slate-hyperscript": "^0.67.0",
|
|
48
|
+
"slate-react": "^0.69.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": ">=16.14.0",
|