@contentful/field-editor-rich-text 1.0.1 → 2.0.0-next.1

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.
Files changed (135) hide show
  1. package/README.md +1 -1
  2. package/dist/ContentfulEditorProvider.d.ts +8 -0
  3. package/dist/RichTextEditor.d.ts +19 -60
  4. package/dist/RichTextEditor.styles.d.ts +7 -0
  5. package/dist/SdkProvider.d.ts +7 -0
  6. package/dist/Toolbar/EmbedEntityWidget.d.ts +6 -0
  7. package/dist/Toolbar/StickyToolbarWrapper.d.ts +6 -11
  8. package/dist/Toolbar/index.d.ts +6 -20
  9. package/dist/TrackingProvider.d.ts +11 -0
  10. package/dist/constants/Schema.d.ts +93 -11
  11. package/dist/dialogs/openRichTextDialog.d.ts +2 -1
  12. package/dist/dialogs/renderRichTextDialog.d.ts +3 -1
  13. package/dist/field-editor-rich-text.cjs.development.js +4243 -5265
  14. package/dist/field-editor-rich-text.cjs.development.js.map +1 -1
  15. package/dist/field-editor-rich-text.cjs.production.min.js +1 -1
  16. package/dist/field-editor-rich-text.cjs.production.min.js.map +1 -1
  17. package/dist/field-editor-rich-text.esm.js +4275 -5297
  18. package/dist/field-editor-rich-text.esm.js.map +1 -1
  19. package/dist/helpers/deserializer.d.ts +3 -0
  20. package/dist/helpers/editor.d.ts +43 -0
  21. package/dist/helpers/environment.d.ts +1 -0
  22. package/dist/helpers/formatDateAndTime.d.ts +15 -0
  23. package/dist/helpers/getLinkedContentTypeIdsForNodeType.d.ts +26 -2
  24. package/dist/helpers/newEntitySelectorConfigFromRichTextField.d.ts +5 -1
  25. package/dist/helpers/sanitizeSlateDoc.d.ts +18 -0
  26. package/dist/helpers/truncate.d.ts +1 -0
  27. package/dist/helpers/validations.d.ts +10 -0
  28. package/dist/plugins/Bold/index.d.ts +12 -64
  29. package/dist/plugins/Code/index.d.ts +12 -64
  30. package/dist/plugins/DragAndDrop/index.d.ts +2 -0
  31. package/dist/plugins/EmbeddedEntity/index.d.ts +10 -0
  32. package/dist/plugins/EmbeddedEntityBlock/LinkedEntityBlock.d.ts +13 -0
  33. package/dist/plugins/EmbeddedEntityBlock/ToolbarIcon.d.ts +12 -10
  34. package/dist/plugins/EmbeddedEntityBlock/Util.d.ts +2 -23
  35. package/dist/plugins/EmbeddedEntityBlock/index.d.ts +11 -26
  36. package/dist/plugins/EmbeddedEntityInline/FetchingWrappedInlineEntryCard.d.ts +12 -0
  37. package/dist/plugins/EmbeddedEntityInline/Util.d.ts +16 -0
  38. package/dist/plugins/EmbeddedEntityInline/index.d.ts +12 -0
  39. package/dist/plugins/Heading/index.d.ts +20 -380
  40. package/dist/plugins/Hr/index.d.ts +13 -61
  41. package/dist/plugins/Hyperlink/EntryAssetTooltip.d.ts +10 -0
  42. package/dist/plugins/Hyperlink/HyperlinkModal.d.ts +17 -0
  43. package/dist/plugins/Hyperlink/index.d.ts +12 -9
  44. package/dist/plugins/InsertBeforeFirstVoidBlock/index.d.ts +2 -3
  45. package/dist/plugins/Italic/index.d.ts +12 -64
  46. package/dist/plugins/List/getListInsertFragment.d.ts +6 -0
  47. package/dist/plugins/List/index.d.ts +15 -114
  48. package/dist/plugins/NewLine/index.d.ts +2 -0
  49. package/dist/plugins/Paragraph/index.d.ts +7 -5
  50. package/dist/plugins/Paste/index.d.ts +2 -7
  51. package/dist/plugins/Paste/sanitizers/helpers.d.ts +7 -0
  52. package/dist/plugins/Paste/sanitizers/index.d.ts +3 -0
  53. package/dist/plugins/Paste/sanitizers/removeComments.d.ts +2 -0
  54. package/dist/plugins/Paste/sanitizers/sanitizeEntityBlocks.d.ts +6 -0
  55. package/dist/plugins/Paste/sanitizers/sanitizeTables.d.ts +2 -0
  56. package/dist/plugins/Quote/index.d.ts +13 -59
  57. package/dist/plugins/Table/TableActions.d.ts +5 -0
  58. package/dist/plugins/Table/actions/addColumn.d.ts +4 -0
  59. package/dist/plugins/Table/actions/addRow.d.ts +3 -0
  60. package/dist/plugins/Table/actions/index.d.ts +3 -0
  61. package/dist/plugins/Table/actions/setHeader.d.ts +2 -0
  62. package/dist/plugins/Table/helpers.d.ts +4 -0
  63. package/dist/plugins/Table/index.d.ts +189 -0
  64. package/dist/plugins/TrailingParagraph/index.d.ts +1 -0
  65. package/dist/plugins/Underline/index.d.ts +12 -0
  66. package/dist/plugins/shared/EntityStatusIcon.d.ts +8 -0
  67. package/dist/plugins/shared/FetchingWrappedAssetCard.d.ts +23 -0
  68. package/dist/plugins/shared/FetchingWrappedEntryCard.d.ts +13 -0
  69. package/dist/plugins/shared/ToolbarButton.d.ts +12 -0
  70. package/dist/types.d.ts +25 -0
  71. package/package.json +32 -29
  72. package/CHANGELOG.md +0 -414
  73. package/LICENSE +0 -21
  74. package/dist/RichTextEditor.spec.d.ts +0 -1
  75. package/dist/Toolbar/Toolbar.spec.d.ts +0 -1
  76. package/dist/helpers/browserSupport.d.ts +0 -1
  77. package/dist/plugins/CommandPalette/CommandMark.d.ts +0 -12
  78. package/dist/plugins/CommandPalette/CommandPalette.d.ts +0 -10
  79. package/dist/plugins/CommandPalette/CommandPaletteService.d.ts +0 -20
  80. package/dist/plugins/CommandPalette/CommandPanel/CommandPanelMenu.d.ts +0 -43
  81. package/dist/plugins/CommandPalette/CommandPanel/index.d.ts +0 -37
  82. package/dist/plugins/CommandPalette/Util.d.ts +0 -5
  83. package/dist/plugins/CommandPalette/index.d.ts +0 -7
  84. package/dist/plugins/EmbeddedEntityBlock/EmbeddedEntityBlock.d.ts +0 -20
  85. package/dist/plugins/EmbeddedEntityBlock/EmbeddedEntityBlock.styles.d.ts +0 -3
  86. package/dist/plugins/EmbeddedEntityBlock/FetchingWrappedAssetCard.d.ts +0 -15
  87. package/dist/plugins/EmbeddedEntityBlock/FetchingWrappedEntryCard.d.ts +0 -15
  88. package/dist/plugins/EmbeddedEntryInline/EmbeddedEntryInline.d.ts +0 -21
  89. package/dist/plugins/EmbeddedEntryInline/EmbeddedEntryInline.styles.d.ts +0 -4
  90. package/dist/plugins/EmbeddedEntryInline/FetchingWrappedInlineEntryCard.d.ts +0 -14
  91. package/dist/plugins/EmbeddedEntryInline/ToolbarIcon.d.ts +0 -11
  92. package/dist/plugins/EmbeddedEntryInline/Utils.d.ts +0 -4
  93. package/dist/plugins/EmbeddedEntryInline/index.d.ts +0 -12
  94. package/dist/plugins/EntryEmbedDropdown/index.d.ts +0 -14
  95. package/dist/plugins/Heading/HeadingDropdown.d.ts +0 -28
  96. package/dist/plugins/Heading/HeadingDropdownItem.d.ts +0 -57
  97. package/dist/plugins/Heading/Paragraph.d.ts +0 -58
  98. package/dist/plugins/Hyperlink/Hyperlink.d.ts +0 -13
  99. package/dist/plugins/Hyperlink/ToolbarIcon.d.ts +0 -7
  100. package/dist/plugins/Hyperlink/Util.d.ts +0 -43
  101. package/dist/plugins/Hyperlink/styles.d.ts +0 -12
  102. package/dist/plugins/Hyperlink/truncate.d.ts +0 -1
  103. package/dist/plugins/Hyperlink/useRequestStatus.d.ts +0 -6
  104. package/dist/plugins/InsertBeforeFirstVoidBlock/Util.d.ts +0 -14
  105. package/dist/plugins/List/EditListWrapper.d.ts +0 -2
  106. package/dist/plugins/List/ToolbarDecorator.d.ts +0 -62
  107. package/dist/plugins/NewLinePlugin/index.d.ts +0 -3
  108. package/dist/plugins/Paste/Paste.d.ts +0 -1
  109. package/dist/plugins/Paste/Paste.spec.d.ts +0 -1
  110. package/dist/plugins/Paste/index.spec.d.ts +0 -1
  111. package/dist/plugins/PasteHtml/PasteHtml.spec.d.ts +0 -1
  112. package/dist/plugins/PasteHtml/Serializer.d.ts +0 -1
  113. package/dist/plugins/PasteHtml/index.d.ts +0 -3
  114. package/dist/plugins/PasteText/PasteText.spec.d.ts +0 -1
  115. package/dist/plugins/PasteText/index.d.ts +0 -3
  116. package/dist/plugins/Quote/QuotePlugin.d.ts +0 -10
  117. package/dist/plugins/Quote/Util.d.ts +0 -2
  118. package/dist/plugins/Underlined/index.d.ts +0 -64
  119. package/dist/plugins/index.d.ts +0 -1
  120. package/dist/plugins/shared/BlockSelectDecorator.d.ts +0 -63
  121. package/dist/plugins/shared/BlockToggleDecorator.d.ts +0 -65
  122. package/dist/plugins/shared/MarkDecorator.d.ts +0 -12
  123. package/dist/plugins/shared/MarkPlugin.d.ts +0 -9
  124. package/dist/plugins/shared/MarkToggleDecorator.d.ts +0 -62
  125. package/dist/plugins/shared/NodeDecorator.d.ts +0 -15
  126. package/dist/plugins/shared/PasteTestHelpers.d.ts +0 -35
  127. package/dist/plugins/shared/PluginApi.d.ts +0 -31
  128. package/dist/plugins/shared/PropTypes.d.ts +0 -15
  129. package/dist/plugins/shared/ToolbarDropdownListItem.d.ts +0 -14
  130. package/dist/plugins/shared/ToolbarIcon.d.ts +0 -16
  131. package/dist/plugins/shared/Util.d.ts +0 -1
  132. package/dist/plugins/shared/UtilHave.d.ts +0 -24
  133. package/dist/setupTests.d.ts +0 -1
  134. package/dist/validations/index.d.ts +0 -9
  135. package/dist/validations/validations.spec.d.ts +0 -1
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ import { PlatePluginOptions } from '@udecode/plate-core';
3
+ import { RenderElementProps, RenderLeafProps } from 'slate-react';
4
+ export declare type TextElement = {
5
+ text: string;
6
+ };
7
+ export declare type TextOrCustomElement = CustomElement | TextElement;
8
+ export declare type CustomElement<T = unknown> = {
9
+ type: string;
10
+ children: TextOrCustomElement[];
11
+ data: T;
12
+ isVoid?: boolean;
13
+ };
14
+ export declare type CustomRenderElementProps<T = any, O = any> = Omit<RenderElementProps, 'element'> & {
15
+ element: CustomElement<T>;
16
+ } & O;
17
+ export interface CustomPluginOptions extends Omit<PlatePluginOptions, 'component'> {
18
+ component?: React.FunctionComponent<CustomRenderElementProps> | React.FunctionComponent<RenderLeafProps>;
19
+ }
20
+ export declare type CustomSlatePluginOptions = Record<string, CustomPluginOptions>;
21
+ declare module 'slate' {
22
+ interface CustomTypes {
23
+ Element: CustomElement;
24
+ }
25
+ }
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-rich-text",
3
- "version": "1.0.1",
3
+ "version": "2.0.0-next.1",
4
+ "publishConfig": {
5
+ "tag": "next"
6
+ },
4
7
  "source": "./src/index.tsx",
5
8
  "main": "./dist/index.js",
6
9
  "module": "dist/field-editor-rich-text.esm.js",
@@ -17,37 +20,41 @@
17
20
  "scripts": {
18
21
  "watch": "tsdx watch",
19
22
  "build": "tsdx build",
20
- "test": "jest --env=jsdom --watch --config jest.config.js",
21
- "test:ci": "jest --env=jsdom --ci",
23
+ "test": "tsdx test --env=jsdom --watch",
24
+ "test:ci": "tsdx test --env=jsdom --ci --passWithNoTests",
22
25
  "tsc": "tsc -p ./ --noEmit",
23
- "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx"
26
+ "lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
27
+ "prepublishOnly": "yarn build"
24
28
  },
25
29
  "dependencies": {
26
- "@contentful/contentful-slatejs-adapter": "14.1.2",
30
+ "@contentful/contentful-slatejs-adapter": "^15.8.0",
27
31
  "@contentful/f36-components": "beta",
28
32
  "@contentful/f36-icons": "beta",
29
33
  "@contentful/f36-tokens": "beta",
30
- "@contentful/field-editor-reference": "^4.0.1",
34
+ "@contentful/field-editor-reference": "^4.0.0",
31
35
  "@contentful/field-editor-shared": "^1.0.0",
32
- "@contentful/rich-text-plain-text-renderer": "^14.0.0",
33
- "@contentful/rich-text-types": "^14.0.1",
34
- "@productboard/slate-edit-list": "^0.19.1",
35
- "@wikifactory/slate-trailing-block": "^0.6.0",
36
- "classnames": "^2.2.6",
37
- "detect-browser": "^3.0.1",
38
- "emotion": "^10.0.17",
39
- "fast-deep-equal": "^3.1.1",
40
- "immutable": "^3.8.2",
41
- "lodash": "^4.17.15",
42
- "lodash-es": "^4.17.15",
43
- "prop-types": "^15.7.2",
44
- "slate": "0.44.10",
45
- "slate-html-serializer": "0.7.34",
46
- "slate-plain-serializer": "0.6.34",
47
- "slate-react": "0.21.16"
36
+ "@contentful/rich-text-plain-text-renderer": "^15.6.2",
37
+ "@contentful/rich-text-types": "^15.7.0",
38
+ "@udecode/plate-break": "^7.0.2",
39
+ "@udecode/plate-common": "^7.0.2",
40
+ "@udecode/plate-core": "^7.0.2",
41
+ "@udecode/plate-html-serializer": "^7.0.2",
42
+ "@udecode/plate-ast-serializer": "^7.0.2",
43
+ "@udecode/plate-list": "^7.0.2",
44
+ "@udecode/plate-paragraph": "^7.0.2",
45
+ "@udecode/plate-table": "^7.0.2",
46
+ "@udecode/plate-trailing-block": "^7.0.2",
47
+ "fast-deep-equal": "^3.1.3",
48
+ "react": ">=16.14.0",
49
+ "slate": "^0.66.5",
50
+ "slate-history": "^0.66.0",
51
+ "slate-hyperscript": "^0.67.0",
52
+ "slate-react": "^0.69.0"
48
53
  },
49
54
  "peerDependencies": {
50
- "react": ">=16.8.0"
55
+ "react": ">=16.14.0",
56
+ "react-dom": ">=16.14.0",
57
+ "slate": "^0.66.1"
51
58
  },
52
59
  "devDependencies": {
53
60
  "@babel/core": "^7.9.6",
@@ -59,10 +66,6 @@
59
66
  "@babel/preset-env": "7.12.11",
60
67
  "@babel/preset-react": "7.13.13",
61
68
  "@contentful/field-editor-test-utils": "^1.0.0",
62
- "@contentful/rich-text-react-renderer": "^14.1.1",
63
- "enzyme": "^3.11.0",
64
- "enzyme-adapter-react-16": "^1.15.2",
65
- "jest": "26.6.3"
66
- },
67
- "gitHead": "0e37773e2c9494b834e3e4cf6954ec1bd530c3ed"
69
+ "@contentful/rich-text-react-renderer": "^15.6.2"
70
+ }
68
71
  }
package/CHANGELOG.md DELETED
@@ -1,414 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [1.0.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.0.0...@contentful/field-editor-rich-text@1.0.1) (2021-11-08)
7
-
8
- **Note:** Version bump only for package @contentful/field-editor-rich-text
9
-
10
- # [1.0.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.20.0...@contentful/field-editor-rich-text@1.0.0) (2021-11-04)
11
-
12
- **Note:** Version bump only for package @contentful/field-editor-rich-text
13
-
14
- # [0.20.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.20...@contentful/field-editor-rich-text@0.20.0) (2021-11-04)
15
-
16
- ### Features
17
-
18
- - Forma v4 components adoption ([#805](https://github.com/contentful/field-editors/issues/805)) ([526bde6](https://github.com/contentful/field-editors/commit/526bde6e10e0ee3789705ec10fb31489af7ca59e))
19
-
20
- ### BREAKING CHANGES
21
-
22
- - adopts a new Forma v4 beta
23
-
24
- ## [0.19.20](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.19...@contentful/field-editor-rich-text@0.19.20) (2021-11-01)
25
-
26
- ### Bug Fixes
27
-
28
- - **rich-text-editor:** specify font-family ([#907](https://github.com/contentful/field-editors/issues/907)) ([33dee3d](https://github.com/contentful/field-editors/commit/33dee3d6dbec66c7538cad2133d41692bd7839ca))
29
-
30
- ## [0.19.19](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.18...@contentful/field-editor-rich-text@0.19.19) (2021-10-18)
31
-
32
- ### Bug Fixes
33
-
34
- - [] Remove test utils from peer dependencies ([#889](https://github.com/contentful/field-editors/issues/889)) ([3694bd7](https://github.com/contentful/field-editors/commit/3694bd7e706b8beb1f685167125f36ef0cbe82de))
35
-
36
- ## [0.19.18](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.17...@contentful/field-editor-rich-text@0.19.18) (2021-10-14)
37
-
38
- **Note:** Version bump only for package @contentful/field-editor-rich-text
39
-
40
- ## [0.19.17](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.16...@contentful/field-editor-rich-text@0.19.17) (2021-10-06)
41
-
42
- **Note:** Version bump only for package @contentful/field-editor-rich-text
43
-
44
- ## [0.19.16](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.15...@contentful/field-editor-rich-text@0.19.16) (2021-10-06)
45
-
46
- **Note:** Version bump only for package @contentful/field-editor-rich-text
47
-
48
- ## [0.19.15](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.14...@contentful/field-editor-rich-text@0.19.15) (2021-09-20)
49
-
50
- **Note:** Version bump only for package @contentful/field-editor-rich-text
51
-
52
- ## [0.19.14](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.13...@contentful/field-editor-rich-text@0.19.14) (2021-09-17)
53
-
54
- **Note:** Version bump only for package @contentful/field-editor-rich-text
55
-
56
- ## [0.19.13](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.12...@contentful/field-editor-rich-text@0.19.13) (2021-09-17)
57
-
58
- **Note:** Version bump only for package @contentful/field-editor-rich-text
59
-
60
- ## [0.19.12](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.11...@contentful/field-editor-rich-text@0.19.12) (2021-09-16)
61
-
62
- **Note:** Version bump only for package @contentful/field-editor-rich-text
63
-
64
- ## [0.19.11](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.9...@contentful/field-editor-rich-text@0.19.11) (2021-08-24)
65
-
66
- **Note:** Version bump only for package @contentful/field-editor-rich-text
67
-
68
- ## [0.19.9](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.8...@contentful/field-editor-rich-text@0.19.9) (2021-08-19)
69
-
70
- **Note:** Version bump only for package @contentful/field-editor-rich-text
71
-
72
- ## [0.19.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.7...@contentful/field-editor-rich-text@0.19.8) (2021-08-06)
73
-
74
- **Note:** Version bump only for package @contentful/field-editor-rich-text
75
-
76
- ## [0.19.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.6...@contentful/field-editor-rich-text@0.19.7) (2021-08-04)
77
-
78
- **Note:** Version bump only for package @contentful/field-editor-rich-text
79
-
80
- ## [0.19.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.5...@contentful/field-editor-rich-text@0.19.6) (2021-07-30)
81
-
82
- **Note:** Version bump only for package @contentful/field-editor-rich-text
83
-
84
- ## [0.19.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.4...@contentful/field-editor-rich-text@0.19.5) (2021-07-29)
85
-
86
- **Note:** Version bump only for package @contentful/field-editor-rich-text
87
-
88
- ## [0.19.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.3...@contentful/field-editor-rich-text@0.19.4) (2021-07-28)
89
-
90
- **Note:** Version bump only for package @contentful/field-editor-rich-text
91
-
92
- ## [0.19.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.2...@contentful/field-editor-rich-text@0.19.3) (2021-07-28)
93
-
94
- **Note:** Version bump only for package @contentful/field-editor-rich-text
95
-
96
- ## [0.19.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.19.0...@contentful/field-editor-rich-text@0.19.2) (2021-07-26)
97
-
98
- ### Bug Fixes
99
-
100
- - adjust rich-text version manually ([#781](https://github.com/contentful/field-editors/issues/781)) ([f770e4f](https://github.com/contentful/field-editors/commit/f770e4f731f1ebec0ac64881c8c60015709fa26d))
101
-
102
- # [0.19.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.16...@contentful/field-editor-rich-text@0.19.0) (2021-07-23)
103
-
104
- ### Features
105
-
106
- - 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
107
-
108
- ## [0.18.16](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.13...@contentful/field-editor-rich-text@0.18.16) (2021-07-06)
109
-
110
- **Note:** Version bump only for package @contentful/field-editor-rich-text
111
-
112
- ## [0.18.15](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.13...@contentful/field-editor-rich-text@0.18.15) (2021-07-06)
113
-
114
- **Note:** Version bump only for package @contentful/field-editor-rich-text
115
-
116
- ## [0.18.14](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.13...@contentful/field-editor-rich-text@0.18.14) (2021-06-23)
117
-
118
- **Note:** Version bump only for package @contentful/field-editor-rich-text
119
-
120
- ## [0.18.13](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.12...@contentful/field-editor-rich-text@0.18.13) (2021-06-23)
121
-
122
- **Note:** Version bump only for package @contentful/field-editor-rich-text
123
-
124
- ## [0.18.12](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.11...@contentful/field-editor-rich-text@0.18.12) (2021-06-22)
125
-
126
- **Note:** Version bump only for package @contentful/field-editor-rich-text
127
-
128
- ## [0.18.11](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.10...@contentful/field-editor-rich-text@0.18.11) (2021-05-20)
129
-
130
- **Note:** Version bump only for package @contentful/field-editor-rich-text
131
-
132
- ## [0.18.10](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.9...@contentful/field-editor-rich-text@0.18.10) (2021-04-13)
133
-
134
- **Note:** Version bump only for package @contentful/field-editor-rich-text
135
-
136
- ## [0.18.9](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.8...@contentful/field-editor-rich-text@0.18.9) (2021-04-06)
137
-
138
- **Note:** Version bump only for package @contentful/field-editor-rich-text
139
-
140
- ## [0.18.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.7...@contentful/field-editor-rich-text@0.18.8) (2021-03-29)
141
-
142
- **Note:** Version bump only for package @contentful/field-editor-rich-text
143
-
144
- ## [0.18.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.6...@contentful/field-editor-rich-text@0.18.7) (2021-03-15)
145
-
146
- **Note:** Version bump only for package @contentful/field-editor-rich-text
147
-
148
- ## [0.18.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.5...@contentful/field-editor-rich-text@0.18.6) (2021-03-12)
149
-
150
- ### Bug Fixes
151
-
152
- - 🐛 fetching in rich text and optimize scheduled actions ([#630](https://github.com/contentful/field-editors/issues/630)) ([d3ff315](https://github.com/contentful/field-editors/commit/d3ff315364bfd542361c9506f4692e4884687821))
153
-
154
- ## [0.18.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.4...@contentful/field-editor-rich-text@0.18.5) (2021-03-12)
155
-
156
- **Note:** Version bump only for package @contentful/field-editor-rich-text
157
-
158
- ## [0.18.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.3...@contentful/field-editor-rich-text@0.18.4) (2021-03-10)
159
-
160
- **Note:** Version bump only for package @contentful/field-editor-rich-text
161
-
162
- ## [0.18.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.2...@contentful/field-editor-rich-text@0.18.3) (2021-03-05)
163
-
164
- **Note:** Version bump only for package @contentful/field-editor-rich-text
165
-
166
- ## [0.18.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.1...@contentful/field-editor-rich-text@0.18.2) (2021-03-04)
167
-
168
- **Note:** Version bump only for package @contentful/field-editor-rich-text
169
-
170
- ## [0.18.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.18.0...@contentful/field-editor-rich-text@0.18.1) (2021-03-02)
171
-
172
- **Note:** Version bump only for package @contentful/field-editor-rich-text
173
-
174
- # [0.18.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.17.7...@contentful/field-editor-rich-text@0.18.0) (2021-02-19)
175
-
176
- ### Features
177
-
178
- - bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
179
-
180
- ## [0.17.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.17.6...@contentful/field-editor-rich-text@0.17.7) (2021-02-16)
181
-
182
- **Note:** Version bump only for package @contentful/field-editor-rich-text
183
-
184
- ## [0.17.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.17.5...@contentful/field-editor-rich-text@0.17.6) (2021-02-09)
185
-
186
- **Note:** Version bump only for package @contentful/field-editor-rich-text
187
-
188
- ## [0.17.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.17.4...@contentful/field-editor-rich-text@0.17.5) (2021-02-08)
189
-
190
- **Note:** Version bump only for package @contentful/field-editor-rich-text
191
-
192
- ## [0.17.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.17.3...@contentful/field-editor-rich-text@0.17.4) (2021-02-05)
193
-
194
- ### Bug Fixes
195
-
196
- - **rich-text:** command palette and embed dropdown icons ([#585](https://github.com/contentful/field-editors/issues/585)) ([7a1c301](https://github.com/contentful/field-editors/commit/7a1c301dca784700a35e98e23f85c92562d41081))
197
-
198
- ## [0.17.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.17.2...@contentful/field-editor-rich-text@0.17.3) (2021-02-03)
199
-
200
- **Note:** Version bump only for package @contentful/field-editor-rich-text
201
-
202
- ## [0.17.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.17.1...@contentful/field-editor-rich-text@0.17.2) (2021-02-01)
203
-
204
- **Note:** Version bump only for package @contentful/field-editor-rich-text
205
-
206
- ## [0.17.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.17.0...@contentful/field-editor-rich-text@0.17.1) (2021-01-25)
207
-
208
- **Note:** Version bump only for package @contentful/field-editor-rich-text
209
-
210
- # [0.17.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.16.3...@contentful/field-editor-rich-text@0.17.0) (2021-01-20)
211
-
212
- ### Features
213
-
214
- - update minimal forma-36 versions to use updated design ([#565](https://github.com/contentful/field-editors/issues/565)) ([332c734](https://github.com/contentful/field-editors/commit/332c734bfaf54f0e9773fcbb460d743b1f5459ec))
215
-
216
- ## [0.16.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.16.2...@contentful/field-editor-rich-text@0.16.3) (2021-01-20)
217
-
218
- **Note:** Version bump only for package @contentful/field-editor-rich-text
219
-
220
- ## [0.16.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.16.1...@contentful/field-editor-rich-text@0.16.2) (2021-01-13)
221
-
222
- **Note:** Version bump only for package @contentful/field-editor-rich-text
223
-
224
- ## [0.16.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.16.0...@contentful/field-editor-rich-text@0.16.1) (2021-01-12)
225
-
226
- ### Bug Fixes
227
-
228
- - use forma tokens for border radiuses ([#553](https://github.com/contentful/field-editors/issues/553)) ([f4eb745](https://github.com/contentful/field-editors/commit/f4eb74568c7bc0cc25028542821ba64e50e226bd))
229
-
230
- # [0.16.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.15.5...@contentful/field-editor-rich-text@0.16.0) (2021-01-12)
231
-
232
- ### Features
233
-
234
- - update minimal required Forma version to the 3.73.12 ([#552](https://github.com/contentful/field-editors/issues/552)) ([2816fd9](https://github.com/contentful/field-editors/commit/2816fd960c28815faebf49a9ef8f4c4c0d91fc36))
235
-
236
- ## [0.15.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.15.4...@contentful/field-editor-rich-text@0.15.5) (2021-01-11)
237
-
238
- **Note:** Version bump only for package @contentful/field-editor-rich-text
239
-
240
- ## [0.15.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.15.3...@contentful/field-editor-rich-text@0.15.4) (2020-12-23)
241
-
242
- ### Bug Fixes
243
-
244
- - use correct prop types ([#538](https://github.com/contentful/field-editors/issues/538)) ([f878a3a](https://github.com/contentful/field-editors/commit/f878a3a4f5c2d32455ac7932540d612a1c1a461a))
245
-
246
- ## [0.15.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.15.2...@contentful/field-editor-rich-text@0.15.3) (2020-12-21)
247
-
248
- **Note:** Version bump only for package @contentful/field-editor-rich-text
249
-
250
- ## [0.15.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.15.1...@contentful/field-editor-rich-text@0.15.2) (2020-12-16)
251
-
252
- **Note:** Version bump only for package @contentful/field-editor-rich-text
253
-
254
- ## [0.15.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.15.0...@contentful/field-editor-rich-text@0.15.1) (2020-12-16)
255
-
256
- **Note:** Version bump only for package @contentful/field-editor-rich-text
257
-
258
- # [0.15.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.39...@contentful/field-editor-rich-text@0.15.0) (2020-12-16)
259
-
260
- ### Features
261
-
262
- - minHeight props ([#529](https://github.com/contentful/field-editors/issues/529)) ([672e5d1](https://github.com/contentful/field-editors/commit/672e5d10356547ba99888dfeedc5ffd7b6e264cb))
263
-
264
- ## [0.14.39](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.38...@contentful/field-editor-rich-text@0.14.39) (2020-12-10)
265
-
266
- **Note:** Version bump only for package @contentful/field-editor-rich-text
267
-
268
- ## [0.14.38](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.37...@contentful/field-editor-rich-text@0.14.38) (2020-11-23)
269
-
270
- **Note:** Version bump only for package @contentful/field-editor-rich-text
271
-
272
- ## [0.14.37](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.36...@contentful/field-editor-rich-text@0.14.37) (2020-11-23)
273
-
274
- **Note:** Version bump only for package @contentful/field-editor-rich-text
275
-
276
- ## [0.14.36](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.35...@contentful/field-editor-rich-text@0.14.36) (2020-11-17)
277
-
278
- **Note:** Version bump only for package @contentful/field-editor-rich-text
279
-
280
- ## [0.14.35](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.34...@contentful/field-editor-rich-text@0.14.35) (2020-11-17)
281
-
282
- **Note:** Version bump only for package @contentful/field-editor-rich-text
283
-
284
- ## [0.14.34](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.33...@contentful/field-editor-rich-text@0.14.34) (2020-11-13)
285
-
286
- **Note:** Version bump only for package @contentful/field-editor-rich-text
287
-
288
- ## [0.14.33](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.32...@contentful/field-editor-rich-text@0.14.33) (2020-11-13)
289
-
290
- **Note:** Version bump only for package @contentful/field-editor-rich-text
291
-
292
- ## [0.14.32](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.31...@contentful/field-editor-rich-text@0.14.32) (2020-11-11)
293
-
294
- **Note:** Version bump only for package @contentful/field-editor-rich-text
295
-
296
- ## [0.14.31](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.30...@contentful/field-editor-rich-text@0.14.31) (2020-11-10)
297
-
298
- **Note:** Version bump only for package @contentful/field-editor-rich-text
299
-
300
- ## [0.14.30](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.29...@contentful/field-editor-rich-text@0.14.30) (2020-11-09)
301
-
302
- **Note:** Version bump only for package @contentful/field-editor-rich-text
303
-
304
- ## [0.14.29](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.28...@contentful/field-editor-rich-text@0.14.29) (2020-11-09)
305
-
306
- **Note:** Version bump only for package @contentful/field-editor-rich-text
307
-
308
- ## [0.14.28](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.27...@contentful/field-editor-rich-text@0.14.28) (2020-11-06)
309
-
310
- **Note:** Version bump only for package @contentful/field-editor-rich-text
311
-
312
- ## [0.14.27](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.26...@contentful/field-editor-rich-text@0.14.27) (2020-11-06)
313
-
314
- **Note:** Version bump only for package @contentful/field-editor-rich-text
315
-
316
- ## [0.14.26](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.25...@contentful/field-editor-rich-text@0.14.26) (2020-11-04)
317
-
318
- **Note:** Version bump only for package @contentful/field-editor-rich-text
319
-
320
- ## [0.14.25](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.24...@contentful/field-editor-rich-text@0.14.25) (2020-10-28)
321
-
322
- **Note:** Version bump only for package @contentful/field-editor-rich-text
323
-
324
- ## [0.14.24](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.23...@contentful/field-editor-rich-text@0.14.24) (2020-10-28)
325
-
326
- **Note:** Version bump only for package @contentful/field-editor-rich-text
327
-
328
- ## [0.14.23](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.22...@contentful/field-editor-rich-text@0.14.23) (2020-10-27)
329
-
330
- ### Bug Fixes
331
-
332
- - do not call set state on unmounted rich-text ([#463](https://github.com/contentful/field-editors/issues/463)) ([5cc5ef4](https://github.com/contentful/field-editors/commit/5cc5ef4fc18f8c039626b1efd3a5072f2edc7628))
333
-
334
- ## [0.14.22](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.21...@contentful/field-editor-rich-text@0.14.22) (2020-10-23)
335
-
336
- **Note:** Version bump only for package @contentful/field-editor-rich-text
337
-
338
- ## [0.14.21](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.20...@contentful/field-editor-rich-text@0.14.21) (2020-10-21)
339
-
340
- **Note:** Version bump only for package @contentful/field-editor-rich-text
341
-
342
- ## [0.14.20](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.19...@contentful/field-editor-rich-text@0.14.20) (2020-10-15)
343
-
344
- **Note:** Version bump only for package @contentful/field-editor-rich-text
345
-
346
- ## [0.14.19](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.18...@contentful/field-editor-rich-text@0.14.19) (2020-10-09)
347
-
348
- **Note:** Version bump only for package @contentful/field-editor-rich-text
349
-
350
- ## [0.14.18](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.17...@contentful/field-editor-rich-text@0.14.18) (2020-10-09)
351
-
352
- **Note:** Version bump only for package @contentful/field-editor-rich-text
353
-
354
- ## [0.14.17](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.16...@contentful/field-editor-rich-text@0.14.17) (2020-10-02)
355
-
356
- **Note:** Version bump only for package @contentful/field-editor-rich-text
357
-
358
- ## [0.14.16](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.15...@contentful/field-editor-rich-text@0.14.16) (2020-10-02)
359
-
360
- **Note:** Version bump only for package @contentful/field-editor-rich-text
361
-
362
- ## [0.14.15](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.14...@contentful/field-editor-rich-text@0.14.15) (2020-10-01)
363
-
364
- **Note:** Version bump only for package @contentful/field-editor-rich-text
365
-
366
- ## [0.14.14](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.13...@contentful/field-editor-rich-text@0.14.14) (2020-09-29)
367
-
368
- **Note:** Version bump only for package @contentful/field-editor-rich-text
369
-
370
- ## [0.14.13](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.12...@contentful/field-editor-rich-text@0.14.13) (2020-09-29)
371
-
372
- **Note:** Version bump only for package @contentful/field-editor-rich-text
373
-
374
- ## [0.14.12](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.11...@contentful/field-editor-rich-text@0.14.12) (2020-09-22)
375
-
376
- **Note:** Version bump only for package @contentful/field-editor-rich-text
377
-
378
- ## [0.14.11](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.10...@contentful/field-editor-rich-text@0.14.11) (2020-09-21)
379
-
380
- **Note:** Version bump only for package @contentful/field-editor-rich-text
381
-
382
- ## [0.14.10](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.9...@contentful/field-editor-rich-text@0.14.10) (2020-09-02)
383
-
384
- **Note:** Version bump only for package @contentful/field-editor-rich-text
385
-
386
- ## [0.14.9](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.8...@contentful/field-editor-rich-text@0.14.9) (2020-09-01)
387
-
388
- ### Bug Fixes
389
-
390
- - 🐛 allow heigh overflow for hyperlink dialog ([#386](https://github.com/contentful/field-editors/issues/386)) ([2cfd46c](https://github.com/contentful/field-editors/commit/2cfd46c3d238ee32abad6a2ca48b422115d285c3))
391
-
392
- ## [0.14.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.7...@contentful/field-editor-rich-text@0.14.8) (2020-09-01)
393
-
394
- **Note:** Version bump only for package @contentful/field-editor-rich-text
395
-
396
- ## [0.14.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.6...@contentful/field-editor-rich-text@0.14.7) (2020-08-27)
397
-
398
- **Note:** Version bump only for package @contentful/field-editor-rich-text
399
-
400
- ## [0.14.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.5...@contentful/field-editor-rich-text@0.14.6) (2020-08-27)
401
-
402
- **Note:** Version bump only for package @contentful/field-editor-rich-text
403
-
404
- ## [0.14.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.4...@contentful/field-editor-rich-text@0.14.5) (2020-08-27)
405
-
406
- **Note:** Version bump only for package @contentful/field-editor-rich-text
407
-
408
- ## [0.14.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.3...@contentful/field-editor-rich-text@0.14.4) (2020-08-24)
409
-
410
- **Note:** Version bump only for package @contentful/field-editor-rich-text
411
-
412
- ## [0.14.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@0.14.2...@contentful/field-editor-rich-text@0.14.3) (2020-08-24)
413
-
414
- **Note:** Version bump only for package @contentful/field-editor-rich-text
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2020 Contentful
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export const SUPPORTS_NATIVE_SLATE_HYPERLINKS: boolean;
@@ -1,12 +0,0 @@
1
- export default CommandMark;
2
- declare class CommandMark extends React.PureComponent<any, any, any> {
3
- static propTypes: {
4
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
5
- editor: PropTypes.Requireable<object>;
6
- attributes: PropTypes.Requireable<object>;
7
- };
8
- constructor(props: any);
9
- constructor(props: any, context: any);
10
- }
11
- import React from "react";
12
- import PropTypes from "prop-types";
@@ -1,10 +0,0 @@
1
- export default CommandPalette;
2
- declare class CommandPalette extends React.PureComponent<any, any, any> {
3
- static propTypes: {
4
- editor: PropTypes.Requireable<object>;
5
- richTextAPI: PropTypes.Requireable<object>;
6
- };
7
- constructor(props: any);
8
- }
9
- import React from "react";
10
- import PropTypes from "prop-types";
@@ -1,20 +0,0 @@
1
- export function fetchAssets(sdk: any, query?: string): Promise<any>;
2
- export function fetchEntries(sdk: any, contentType: any, query?: string): Promise<[any, any, any, any, any, any, any, any, any, any]>;
3
- export function isValidLinkedContentType(field: any, contentType: any, embedType: string): boolean;
4
- export function isEmbeddingEnabled(field: any): boolean;
5
- export class CommandPaletteActionBuilder {
6
- constructor(sdk: any);
7
- sdk: any;
8
- maybeBuildEmbedAction(embedType: any, contentType: any, callback: any): false | {
9
- label: string;
10
- group: any;
11
- callback: any;
12
- icon: string;
13
- };
14
- maybeBuildCreateAndEmbedAction(embedType: any, contentType: any, callback: any): Promise<false | {
15
- label: string;
16
- group: any;
17
- callback: any;
18
- icon: string;
19
- }>;
20
- }