@contentful/field-editor-rich-text 2.0.0-next.8 → 2.0.2

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 (98) hide show
  1. package/CHANGELOG.md +536 -0
  2. package/LICENSE +21 -0
  3. package/README.md +25 -3
  4. package/dist/ContentfulEditorProvider.d.ts +6 -5
  5. package/dist/RichTextEditor.d.ts +1 -1
  6. package/dist/Toolbar/components/EmbedEntityWidget.d.ts +1 -1
  7. package/dist/field-editor-rich-text.cjs.development.js +2403 -1407
  8. package/dist/field-editor-rich-text.cjs.development.js.map +1 -1
  9. package/dist/field-editor-rich-text.cjs.production.min.js +1 -1
  10. package/dist/field-editor-rich-text.cjs.production.min.js.map +1 -1
  11. package/dist/field-editor-rich-text.esm.js +2412 -1416
  12. package/dist/field-editor-rich-text.esm.js.map +1 -1
  13. package/dist/helpers/editor.d.ts +16 -18
  14. package/dist/helpers/environment.d.ts +1 -1
  15. package/dist/helpers/extractNodes.d.ts +2 -3
  16. package/dist/helpers/{sanitizeSlateDoc.d.ts → sanitizeIncomingSlateDoc.d.ts} +2 -1
  17. package/dist/helpers/transformers.d.ts +6 -6
  18. package/dist/plugins/Break/createResetNodePlugin.d.ts +2 -0
  19. package/dist/plugins/Break/index.d.ts +2 -0
  20. package/dist/plugins/CommandPalette/CommandPanel/InViewport/InViewport.d.ts +37 -0
  21. package/dist/plugins/EmbeddedEntityBlock/FetchingWrappedAssetCard.d.ts +15 -0
  22. package/dist/plugins/EmbeddedEntityBlock/FetchingWrappedEntryCard.d.ts +15 -0
  23. package/dist/plugins/EmbeddedEntityBlock/ToolbarIcon.d.ts +1 -3
  24. package/dist/plugins/EmbeddedEntityBlock/Util.d.ts +2 -1
  25. package/dist/plugins/EmbeddedEntityBlock/index.d.ts +2 -3
  26. package/dist/plugins/EmbeddedEntityInline/index.d.ts +1 -3
  27. package/dist/plugins/EmbeddedEntryInline/FetchingWrappedInlineEntryCard.d.ts +14 -0
  28. package/dist/plugins/Hr/index.d.ts +2 -3
  29. package/dist/plugins/Hyperlink/Hyperlink.d.ts +13 -0
  30. package/dist/plugins/Hyperlink/HyperlinkModal.d.ts +5 -4
  31. package/dist/plugins/Hyperlink/components/EntityHyperlink.d.ts +9 -0
  32. package/dist/plugins/Hyperlink/components/ToolbarHyperlinkButton.d.ts +5 -0
  33. package/dist/plugins/Hyperlink/components/UrlHyperlink.d.ts +9 -0
  34. package/dist/plugins/Hyperlink/components/styles.d.ts +4 -0
  35. package/dist/plugins/Hyperlink/createHyperlinkPlugin.d.ts +3 -0
  36. package/dist/plugins/Hyperlink/index.d.ts +2 -9
  37. package/dist/plugins/Hyperlink/useEntityInfo.d.ts +16 -0
  38. package/dist/plugins/Hyperlink/utils.d.ts +4 -2
  39. package/dist/plugins/List/insertListBreak.d.ts +2 -2
  40. package/dist/plugins/List/insertListFragment.d.ts +3 -2
  41. package/dist/plugins/List/onKeyDownList.d.ts +7 -0
  42. package/dist/plugins/List/transforms/deleteBackwardList.d.ts +2 -0
  43. package/dist/plugins/List/transforms/insertListItem.d.ts +2 -2
  44. package/dist/plugins/List/transforms/moveListItemDown.d.ts +11 -0
  45. package/dist/plugins/List/transforms/moveListItems.d.ts +10 -0
  46. package/dist/plugins/List/transforms/toggleList.d.ts +4 -0
  47. package/dist/plugins/List/transforms/unwrapList.d.ts +5 -0
  48. package/dist/plugins/List/utils.d.ts +9 -5
  49. package/dist/plugins/List/withList.d.ts +2 -1
  50. package/dist/plugins/Marks/Bold.d.ts +7 -5
  51. package/dist/plugins/Marks/Code.d.ts +7 -5
  52. package/dist/plugins/Marks/Italic.d.ts +7 -5
  53. package/dist/plugins/Marks/Underline.d.ts +7 -5
  54. package/dist/plugins/Marks/components/MarkToolbarButton.d.ts +13 -0
  55. package/dist/plugins/Marks/helpers.d.ts +4 -0
  56. package/dist/plugins/Normalizer/types.d.ts +4 -3
  57. package/dist/plugins/Normalizer/utils.d.ts +2 -2
  58. package/dist/plugins/Normalizer/withNormalizer.d.ts +2 -2
  59. package/dist/plugins/PasteHTML/createPasteHTMLPlugin.d.ts +6 -0
  60. package/dist/plugins/Quote/shouldResetQuote.d.ts +8 -0
  61. package/dist/plugins/Quote/toggleQuote.d.ts +4 -2
  62. package/dist/plugins/Quote/withQuote.d.ts +3 -0
  63. package/dist/plugins/SlashCommands/SlashCommandsPalette.d.ts +5 -0
  64. package/dist/plugins/SlashCommands/createSlashCommandsPlugin.d.ts +2 -0
  65. package/dist/plugins/SlashCommands/helpers.d.ts +6 -0
  66. package/dist/plugins/SlashCommands/index.d.ts +2 -0
  67. package/dist/plugins/Table/actions/addColumn.d.ts +3 -3
  68. package/dist/plugins/Table/actions/addRow.d.ts +3 -3
  69. package/dist/plugins/Table/actions/setHeader.d.ts +2 -2
  70. package/dist/plugins/Table/createTablePlugin.d.ts +1 -2
  71. package/dist/plugins/Table/helpers.d.ts +8 -7
  72. package/dist/plugins/Table/insertTableFragment.d.ts +3 -0
  73. package/dist/plugins/Table/onKeyDownTable.d.ts +3 -0
  74. package/dist/plugins/Table/tableTracking.d.ts +4 -0
  75. package/dist/plugins/Tracking/createTrackingPlugin.d.ts +11 -0
  76. package/dist/plugins/Tracking/index.d.ts +1 -0
  77. package/dist/plugins/Tracking/utils.d.ts +2 -0
  78. package/dist/plugins/TrailingParagraph/index.d.ts +2 -1
  79. package/dist/plugins/Voids/transformVoid.d.ts +2 -2
  80. package/dist/plugins/index.d.ts +2 -2
  81. package/dist/plugins/links-tracking.d.ts +1 -2
  82. package/dist/plugins/shared/FetchingWrappedAssetCard.d.ts +0 -10
  83. package/dist/plugins/shared/FetchingWrappedEntryCard.d.ts +1 -1
  84. package/dist/plugins/shared/useFetchedEntity.d.ts +8 -0
  85. package/dist/prepareDocument.d.ts +20 -0
  86. package/dist/test-utils/assertOutput.d.ts +2 -3
  87. package/dist/test-utils/createEditor.d.ts +5 -6
  88. package/dist/test-utils/jsx.d.ts +1 -1
  89. package/dist/test-utils/mockPlugin.d.ts +1 -1
  90. package/dist/test-utils/setEmptyDataAttribute.d.ts +2 -2
  91. package/dist/types.d.ts +11 -3
  92. package/dist/useOnValueChanged.d.ts +8 -0
  93. package/package.json +25 -25
  94. package/dist/TrackingProvider.d.ts +0 -11
  95. package/dist/plugins/Hyperlink/EntryAssetTooltip.d.ts +0 -9
  96. package/dist/plugins/Hyperlink/truncate.d.ts +0 -1
  97. package/dist/plugins/Table/addTableTrackingEvents.d.ts +0 -3
  98. package/dist/plugins/shared/EntityStatusIcon.d.ts +0 -7
package/CHANGELOG.md ADDED
@@ -0,0 +1,536 @@
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
+ ## [2.0.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@2.0.1...@contentful/field-editor-rich-text@2.0.2) (2022-06-22)
7
+
8
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
9
+
10
+ ## [2.0.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.17...@contentful/field-editor-rich-text@2.0.1) (2022-06-21)
11
+
12
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
13
+
14
+ ## [1.1.17](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.16...@contentful/field-editor-rich-text@1.1.17) (2022-06-15)
15
+
16
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
17
+
18
+ ## [1.1.16](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.15...@contentful/field-editor-rich-text@1.1.16) (2022-06-07)
19
+
20
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
21
+
22
+ ## [1.1.15](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.14...@contentful/field-editor-rich-text@1.1.15) (2022-05-24)
23
+
24
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
25
+
26
+ ## [1.1.14](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.13...@contentful/field-editor-rich-text@1.1.14) (2022-05-09)
27
+
28
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
29
+
30
+ ## [1.1.13](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.12...@contentful/field-editor-rich-text@1.1.13) (2022-05-06)
31
+
32
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
33
+
34
+ ## [1.1.12](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.11...@contentful/field-editor-rich-text@1.1.12) (2022-05-04)
35
+
36
+ ### Bug Fixes
37
+
38
+ - reflect disabled state on fields ([#1125](https://github.com/contentful/field-editors/issues/1125)) ([01502b9](https://github.com/contentful/field-editors/commit/01502b9d785c5f782b0e5de782d092c439cb690f))
39
+
40
+ ## [1.1.11](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.10...@contentful/field-editor-rich-text@1.1.11) (2022-05-03)
41
+
42
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
43
+
44
+ ## [1.1.10](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.9...@contentful/field-editor-rich-text@1.1.10) (2022-04-29)
45
+
46
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
47
+
48
+ ## [1.1.9](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.8...@contentful/field-editor-rich-text@1.1.9) (2022-04-28)
49
+
50
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
51
+
52
+ ## [1.1.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.7...@contentful/field-editor-rich-text@1.1.8) (2022-04-28)
53
+
54
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
55
+
56
+ ## [1.1.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.6...@contentful/field-editor-rich-text@1.1.7) (2022-04-19)
57
+
58
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
59
+
60
+ ## [1.1.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.5...@contentful/field-editor-rich-text@1.1.6) (2022-03-31)
61
+
62
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
63
+
64
+ ## [1.1.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.4...@contentful/field-editor-rich-text@1.1.5) (2022-03-29)
65
+
66
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
67
+
68
+ ## [1.1.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.3...@contentful/field-editor-rich-text@1.1.4) (2022-03-02)
69
+
70
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
71
+
72
+ ## [1.1.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.2...@contentful/field-editor-rich-text@1.1.3) (2022-02-15)
73
+
74
+ ### Bug Fixes
75
+
76
+ - bump f36 packages ([#1025](https://github.com/contentful/field-editors/issues/1025)) ([ec37a40](https://github.com/contentful/field-editors/commit/ec37a4000db7cd75c66dd9621136b2272c9feeea))
77
+
78
+ ## [1.1.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.1...@contentful/field-editor-rich-text@1.1.2) (2022-02-14)
79
+
80
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
81
+
82
+ ## [1.1.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.1.0...@contentful/field-editor-rich-text@1.1.1) (2022-01-20)
83
+
84
+ ### Bug Fixes
85
+
86
+ - remove empty text hyperlinks ([#997](https://github.com/contentful/field-editors/issues/997)) ([d998132](https://github.com/contentful/field-editors/commit/d998132fbe948a98f6e800211a794bdd1e292233))
87
+
88
+ # [1.1.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.0.8...@contentful/field-editor-rich-text@1.1.0) (2022-01-11)
89
+
90
+ ### Features
91
+
92
+ - bump f36 packages to stable v4 [BAU-521] ([#988](https://github.com/contentful/field-editors/issues/988)) ([419cf56](https://github.com/contentful/field-editors/commit/419cf56692179b074fcfa2743469d5265ed98429))
93
+
94
+ ## [1.0.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.0.7...@contentful/field-editor-rich-text@1.0.8) (2021-12-23)
95
+
96
+ ### Bug Fixes
97
+
98
+ - markdown buttons ([#968](https://github.com/contentful/field-editors/issues/968)) ([9803b98](https://github.com/contentful/field-editors/commit/9803b98c25d92df6148686ffe2749a77f7efdbb9))
99
+
100
+ ## [1.0.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.0.6...@contentful/field-editor-rich-text@1.0.7) (2021-12-22)
101
+
102
+ ### Bug Fixes
103
+
104
+ - cache content types for Hyperlink ([#967](https://github.com/contentful/field-editors/issues/967)) ([07e376d](https://github.com/contentful/field-editors/commit/07e376de5157fa6477f060550aacf96af3ab5e85))
105
+
106
+ ## [1.0.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.0.5...@contentful/field-editor-rich-text@1.0.6) (2021-12-20)
107
+
108
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
109
+
110
+ ## [1.0.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.0.4...@contentful/field-editor-rich-text@1.0.5) (2021-11-27)
111
+
112
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
113
+
114
+ ## [1.0.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.0.3...@contentful/field-editor-rich-text@1.0.4) (2021-11-26)
115
+
116
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
117
+
118
+ ## [1.0.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.0.2...@contentful/field-editor-rich-text@1.0.3) (2021-11-17)
119
+
120
+ ### Bug Fixes
121
+
122
+ - **card-actions:** update forma 36 to fix card actions click issue ([#927](https://github.com/contentful/field-editors/issues/927)) ([3dfdef2](https://github.com/contentful/field-editors/commit/3dfdef2c2b0045f12ea94ddafca89a8e9f25e7d0))
123
+
124
+ ## [1.0.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-rich-text@1.0.1...@contentful/field-editor-rich-text@1.0.2) (2021-11-08)
125
+
126
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
127
+
128
+ ## [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)
129
+
130
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
131
+
132
+ # [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)
133
+
134
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
135
+
136
+ # [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)
137
+
138
+ ### Features
139
+
140
+ - Forma v4 components adoption ([#805](https://github.com/contentful/field-editors/issues/805)) ([526bde6](https://github.com/contentful/field-editors/commit/526bde6e10e0ee3789705ec10fb31489af7ca59e))
141
+
142
+ ### BREAKING CHANGES
143
+
144
+ - adopts a new Forma v4 beta
145
+
146
+ ## [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)
147
+
148
+ ### Bug Fixes
149
+
150
+ - **rich-text-editor:** specify font-family ([#907](https://github.com/contentful/field-editors/issues/907)) ([33dee3d](https://github.com/contentful/field-editors/commit/33dee3d6dbec66c7538cad2133d41692bd7839ca))
151
+
152
+ ## [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)
153
+
154
+ ### Bug Fixes
155
+
156
+ - [] Remove test utils from peer dependencies ([#889](https://github.com/contentful/field-editors/issues/889)) ([3694bd7](https://github.com/contentful/field-editors/commit/3694bd7e706b8beb1f685167125f36ef0cbe82de))
157
+
158
+ ## [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)
159
+
160
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
161
+
162
+ ## [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)
163
+
164
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
165
+
166
+ ## [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)
167
+
168
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
169
+
170
+ ## [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)
171
+
172
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
173
+
174
+ ## [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)
175
+
176
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
177
+
178
+ ## [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)
179
+
180
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
181
+
182
+ ## [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)
183
+
184
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
185
+
186
+ ## [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)
187
+
188
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
189
+
190
+ ## [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)
191
+
192
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
193
+
194
+ ## [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)
195
+
196
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
197
+
198
+ ## [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)
199
+
200
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
201
+
202
+ ## [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)
203
+
204
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
205
+
206
+ ## [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)
207
+
208
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
209
+
210
+ ## [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)
211
+
212
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
213
+
214
+ ## [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)
215
+
216
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
217
+
218
+ ## [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)
219
+
220
+ ### Bug Fixes
221
+
222
+ - adjust rich-text version manually ([#781](https://github.com/contentful/field-editors/issues/781)) ([f770e4f](https://github.com/contentful/field-editors/commit/f770e4f731f1ebec0ac64881c8c60015709fa26d))
223
+
224
+ # [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)
225
+
226
+ ### Features
227
+
228
+ - 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
229
+
230
+ ## [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)
231
+
232
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
233
+
234
+ ## [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)
235
+
236
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
237
+
238
+ ## [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)
239
+
240
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
241
+
242
+ ## [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)
243
+
244
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
245
+
246
+ ## [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)
247
+
248
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
249
+
250
+ ## [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)
251
+
252
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
253
+
254
+ ## [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)
255
+
256
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
257
+
258
+ ## [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)
259
+
260
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
261
+
262
+ ## [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)
263
+
264
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
265
+
266
+ ## [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)
267
+
268
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
269
+
270
+ ## [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)
271
+
272
+ ### Bug Fixes
273
+
274
+ - 🐛 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))
275
+
276
+ ## [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)
277
+
278
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
279
+
280
+ ## [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)
281
+
282
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
283
+
284
+ ## [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)
285
+
286
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
287
+
288
+ ## [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)
289
+
290
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
291
+
292
+ ## [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)
293
+
294
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
295
+
296
+ # [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)
297
+
298
+ ### Features
299
+
300
+ - bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
301
+
302
+ ## [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)
303
+
304
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
305
+
306
+ ## [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)
307
+
308
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
309
+
310
+ ## [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)
311
+
312
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
313
+
314
+ ## [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)
315
+
316
+ ### Bug Fixes
317
+
318
+ - **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))
319
+
320
+ ## [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)
321
+
322
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
323
+
324
+ ## [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)
325
+
326
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
327
+
328
+ ## [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)
329
+
330
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
331
+
332
+ # [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)
333
+
334
+ ### Features
335
+
336
+ - 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))
337
+
338
+ ## [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)
339
+
340
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
341
+
342
+ ## [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)
343
+
344
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
345
+
346
+ ## [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)
347
+
348
+ ### Bug Fixes
349
+
350
+ - use forma tokens for border radiuses ([#553](https://github.com/contentful/field-editors/issues/553)) ([f4eb745](https://github.com/contentful/field-editors/commit/f4eb74568c7bc0cc25028542821ba64e50e226bd))
351
+
352
+ # [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)
353
+
354
+ ### Features
355
+
356
+ - 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))
357
+
358
+ ## [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)
359
+
360
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
361
+
362
+ ## [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)
363
+
364
+ ### Bug Fixes
365
+
366
+ - use correct prop types ([#538](https://github.com/contentful/field-editors/issues/538)) ([f878a3a](https://github.com/contentful/field-editors/commit/f878a3a4f5c2d32455ac7932540d612a1c1a461a))
367
+
368
+ ## [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)
369
+
370
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
371
+
372
+ ## [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)
373
+
374
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
375
+
376
+ ## [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)
377
+
378
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
379
+
380
+ # [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)
381
+
382
+ ### Features
383
+
384
+ - minHeight props ([#529](https://github.com/contentful/field-editors/issues/529)) ([672e5d1](https://github.com/contentful/field-editors/commit/672e5d10356547ba99888dfeedc5ffd7b6e264cb))
385
+
386
+ ## [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)
387
+
388
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
389
+
390
+ ## [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)
391
+
392
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
393
+
394
+ ## [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)
395
+
396
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
397
+
398
+ ## [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)
399
+
400
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
401
+
402
+ ## [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)
403
+
404
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
405
+
406
+ ## [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)
407
+
408
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
409
+
410
+ ## [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)
411
+
412
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
413
+
414
+ ## [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)
415
+
416
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
417
+
418
+ ## [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)
419
+
420
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
421
+
422
+ ## [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)
423
+
424
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
425
+
426
+ ## [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)
427
+
428
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
429
+
430
+ ## [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)
431
+
432
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
433
+
434
+ ## [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)
435
+
436
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
437
+
438
+ ## [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)
439
+
440
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
441
+
442
+ ## [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)
443
+
444
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
445
+
446
+ ## [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)
447
+
448
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
449
+
450
+ ## [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)
451
+
452
+ ### Bug Fixes
453
+
454
+ - 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))
455
+
456
+ ## [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)
457
+
458
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
459
+
460
+ ## [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)
461
+
462
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
463
+
464
+ ## [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)
465
+
466
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
467
+
468
+ ## [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)
469
+
470
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
471
+
472
+ ## [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)
473
+
474
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
475
+
476
+ ## [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)
477
+
478
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
479
+
480
+ ## [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)
481
+
482
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
483
+
484
+ ## [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)
485
+
486
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
487
+
488
+ ## [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)
489
+
490
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
491
+
492
+ ## [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)
493
+
494
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
495
+
496
+ ## [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)
497
+
498
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
499
+
500
+ ## [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)
501
+
502
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
503
+
504
+ ## [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)
505
+
506
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
507
+
508
+ ## [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)
509
+
510
+ ### Bug Fixes
511
+
512
+ - 🐛 allow heigh overflow for hyperlink dialog ([#386](https://github.com/contentful/field-editors/issues/386)) ([2cfd46c](https://github.com/contentful/field-editors/commit/2cfd46c3d238ee32abad6a2ca48b422115d285c3))
513
+
514
+ ## [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)
515
+
516
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
517
+
518
+ ## [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)
519
+
520
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
521
+
522
+ ## [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)
523
+
524
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
525
+
526
+ ## [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)
527
+
528
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
529
+
530
+ ## [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)
531
+
532
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
533
+
534
+ ## [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)
535
+
536
+ **Note:** Version bump only for package @contentful/field-editor-rich-text
package/LICENSE ADDED
@@ -0,0 +1,21 @@
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.
package/README.md CHANGED
@@ -4,11 +4,33 @@
4
4
  npm install @contentful/field-editor-rich-text
5
5
  ```
6
6
 
7
- This package contains the updated rich text editor, currently in an **ALPHA** state (i.e., not suitable for production use and subject to breaking changes).
8
-
9
- This editor app is built on top of [Slate](https://github.com/ianstormtaylor/slate), a third party framework for building highly customizable rich text editing solutions.
7
+ This package contains a React `RichTextEditor` component that is used as the default for `RichText` field type in the Contentful web application.
10
8
 
11
9
  ```js
12
10
  import 'codemirror/lib/codemirror.css';
13
11
  import { RichTextEditor } from '@contentful/field-editor-rich-text';
14
12
  ```
13
+
14
+ ## Migrating to v2
15
+
16
+ To bring support for Rich Text Tables we rewrote most of the internals of this package to adapt the latest version of [Slate][slate]. We are releasing this change as v2.0.0.
17
+
18
+ There are two ways our users typically use the rich-text field editor:
19
+
20
+ ### 1. By embedding `@contentful/field-editor-rich-text` npm package
21
+
22
+ Since the public API exposed by the package remains the same, upgrading to v2 should be seamless as it's just a matter of installing the latest version from npm. No migration is needed.
23
+
24
+ ### 2. By forking the source code
25
+
26
+ You will need to adapt your fork to work with v2. Here is a highlight of the major changes:
27
+
28
+ 1. Using Slate >= v0.80.0. If you're upgrading from < 0.50.x Please check the library [migration guide](https://docs.slatejs.org/concepts/xx-migrating)
29
+ 2. Using Plate as a plugin system. Plate is a powerful plugin system to make it easy to work with Slate. All of the existing rich text plugins were rewritten to use Plate. To learn more, please check Plate's [website][plate].
30
+
31
+ ## Credits
32
+
33
+ This package is based on [Slate][slate] & [Plate][plate] and also borrows some of their code. Without them, this project would not have been possible.
34
+
35
+ [slate]: https://www.slatejs.org/
36
+ [plate]: https://plate.udecode.io/
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { FieldExtensionSDK } from '@contentful/app-sdk';
3
+ import { RichTextEditor } from './types';
3
4
  export declare function getContentfulEditorId(sdk: FieldExtensionSDK): string;
4
- interface useContentfulEditorHookProps {
5
- sdk: FieldExtensionSDK;
6
- }
7
- export declare const ContentfulEditorProvider: import("react").FC<useContentfulEditorHookProps>, useContentfulEditor: any;
8
- export {};
5
+ export declare const editorContext: import("react").Context<string>;
6
+ export declare const ContentfulEditorIdProvider: import("react").Provider<string>;
7
+ export declare function useContentfulEditorId(id?: string): string;
8
+ export declare function useContentfulEditor(id?: string): import("@udecode/plate-core").PlateEditor<RichTextEditor>;
9
+ export declare function useContentfulEditorRef(id?: string): import("@udecode/plate-core").PlateEditor<RichTextEditor>;
@@ -1,6 +1,6 @@
1
1
  import { FieldExtensionSDK } from '@contentful/app-sdk';
2
2
  import * as Contentful from '@contentful/rich-text-types';
3
- import { RichTextTrackingActionHandler } from './TrackingProvider';
3
+ import { RichTextTrackingActionHandler } from './plugins/Tracking';
4
4
  declare type ConnectedProps = {
5
5
  sdk: FieldExtensionSDK;
6
6
  onAction?: RichTextTrackingActionHandler;
@@ -2,4 +2,4 @@ export interface EmbedEntityWidgetProps {
2
2
  isDisabled?: boolean;
3
3
  canInsertBlocks?: boolean;
4
4
  }
5
- export declare const EmbedEntityWidget: ({ isDisabled, canInsertBlocks }: EmbedEntityWidgetProps) => JSX.Element;
5
+ export declare const EmbedEntityWidget: ({ isDisabled, canInsertBlocks }: EmbedEntityWidgetProps) => JSX.Element | null;