@contentful/field-editor-rich-text 2.0.0-next.2 → 2.0.0-next.20

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 (145) hide show
  1. package/README.md +4 -0
  2. package/dist/ContentfulEditorProvider.d.ts +6 -5
  3. package/dist/RichTextEditor.d.ts +2 -3
  4. package/dist/Toolbar/{EmbedEntityWidget.d.ts → components/EmbedEntityWidget.d.ts} +0 -1
  5. package/dist/{plugins/EmbeddedEntity/index.d.ts → Toolbar/components/EmbeddedEntityDropdownButton.d.ts} +1 -2
  6. package/dist/Toolbar/{StickyToolbarWrapper.d.ts → components/StickyToolbarWrapper.d.ts} +0 -0
  7. package/dist/Toolbar/index.d.ts +0 -1
  8. package/dist/dialogs/renderRichTextDialog.d.ts +0 -1
  9. package/dist/field-editor-rich-text.cjs.development.js +5335 -4357
  10. package/dist/field-editor-rich-text.cjs.development.js.map +1 -1
  11. package/dist/field-editor-rich-text.cjs.production.min.js +1 -1
  12. package/dist/field-editor-rich-text.cjs.production.min.js.map +1 -1
  13. package/dist/field-editor-rich-text.esm.js +5450 -4472
  14. package/dist/field-editor-rich-text.esm.js.map +1 -1
  15. package/dist/helpers/editor.d.ts +22 -27
  16. package/dist/helpers/environment.d.ts +1 -0
  17. package/dist/helpers/extractNodes.d.ts +6 -0
  18. package/dist/helpers/transformers.d.ts +8 -0
  19. package/dist/helpers/validations.d.ts +1 -1
  20. package/dist/plugins/Break/createExitBreakPlugin.d.ts +2 -0
  21. package/dist/plugins/Break/createResetNodePlugin.d.ts +2 -0
  22. package/dist/plugins/Break/createSoftBreakPlugin.d.ts +2 -0
  23. package/dist/plugins/Break/index.d.ts +5 -0
  24. package/dist/plugins/DragAndDrop/index.d.ts +2 -2
  25. package/dist/plugins/EmbeddedEntityBlock/LinkedEntityBlock.d.ts +3 -2
  26. package/dist/plugins/EmbeddedEntityBlock/ToolbarIcon.d.ts +1 -3
  27. package/dist/plugins/EmbeddedEntityBlock/Util.d.ts +2 -1
  28. package/dist/plugins/EmbeddedEntityBlock/index.d.ts +3 -9
  29. package/dist/plugins/EmbeddedEntityInline/FetchingWrappedInlineEntryCard.d.ts +1 -0
  30. package/dist/plugins/EmbeddedEntityInline/index.d.ts +3 -5
  31. package/dist/plugins/Heading/components/Heading.d.ts +11 -0
  32. package/dist/plugins/Heading/components/ToolbarHeadingButton.d.ts +4 -0
  33. package/dist/plugins/Heading/createHeadingPlugin.d.ts +2 -0
  34. package/dist/plugins/Heading/index.d.ts +2 -20
  35. package/dist/plugins/Hr/index.d.ts +3 -5
  36. package/dist/plugins/Hyperlink/EntryAssetTooltip.d.ts +0 -1
  37. package/dist/plugins/Hyperlink/HyperlinkModal.d.ts +4 -6
  38. package/dist/plugins/Hyperlink/index.d.ts +2 -6
  39. package/dist/plugins/Hyperlink/truncate.d.ts +1 -0
  40. package/dist/plugins/Hyperlink/utils.d.ts +3 -0
  41. package/dist/plugins/List/components/List.d.ts +3 -0
  42. package/dist/plugins/List/components/ListItem.d.ts +2 -0
  43. package/dist/plugins/List/components/ToolbarListButton.d.ts +4 -0
  44. package/dist/plugins/List/createListPlugin.d.ts +2 -0
  45. package/dist/plugins/List/index.d.ts +2 -15
  46. package/dist/plugins/List/insertListBreak.d.ts +2 -0
  47. package/dist/plugins/List/insertListFragment.d.ts +3 -0
  48. package/dist/plugins/List/transforms/deleteBackwardList.d.ts +2 -0
  49. package/dist/plugins/List/transforms/insertListItem.d.ts +5 -0
  50. package/dist/plugins/List/transforms/toggleList.d.ts +4 -0
  51. package/dist/plugins/List/transforms/unwrapList.d.ts +5 -0
  52. package/dist/plugins/List/utils.d.ts +15 -0
  53. package/dist/plugins/List/withList.d.ts +4 -0
  54. package/dist/plugins/Marks/Bold.d.ts +11 -0
  55. package/dist/plugins/Marks/Code.d.ts +11 -0
  56. package/dist/plugins/Marks/Italic.d.ts +11 -0
  57. package/dist/plugins/Marks/Underline.d.ts +11 -0
  58. package/dist/plugins/Marks/components/MarkToolbarButton.d.ts +13 -0
  59. package/dist/plugins/Marks/helpers.d.ts +4 -0
  60. package/dist/plugins/Marks/index.d.ts +2 -0
  61. package/dist/plugins/Normalizer/baseRules.d.ts +2 -0
  62. package/dist/plugins/Normalizer/createNormalizerPlugin.d.ts +2 -0
  63. package/dist/plugins/Normalizer/index.d.ts +2 -0
  64. package/dist/plugins/Normalizer/types.d.ts +40 -0
  65. package/dist/plugins/Normalizer/utils.d.ts +8 -0
  66. package/dist/plugins/Normalizer/withNormalizer.d.ts +2 -0
  67. package/dist/plugins/Paragraph/Paragraph.d.ts +2 -0
  68. package/dist/plugins/Paragraph/createParagraphPlugin.d.ts +2 -0
  69. package/dist/plugins/Paragraph/index.d.ts +1 -7
  70. package/dist/plugins/Paragraph/utils.d.ts +2 -0
  71. package/dist/plugins/PasteHTML/createPasteHTMLPlugin.d.ts +8 -0
  72. package/dist/plugins/PasteHTML/index.d.ts +1 -0
  73. package/dist/plugins/PasteHTML/utils/sanitizeHTML.d.ts +1 -0
  74. package/dist/plugins/PasteHTML/utils/sanitizeSheets.d.ts +4 -0
  75. package/dist/plugins/Quote/components/Quote.d.ts +2 -0
  76. package/dist/plugins/Quote/components/ToolbarQuoteButton.d.ts +4 -0
  77. package/dist/plugins/Quote/createQuotePlugin.d.ts +2 -0
  78. package/dist/plugins/Quote/index.d.ts +2 -13
  79. package/dist/plugins/Quote/shouldResetQuote.d.ts +8 -0
  80. package/dist/plugins/Quote/toggleQuote.d.ts +5 -0
  81. package/dist/plugins/Quote/withQuote.d.ts +3 -0
  82. package/dist/plugins/SelectOnBackspace/createSelectOnBackspacePlugin.d.ts +2 -0
  83. package/dist/plugins/SelectOnBackspace/index.d.ts +1 -0
  84. package/dist/plugins/Table/actions/addColumn.d.ts +4 -3
  85. package/dist/plugins/Table/actions/addRow.d.ts +3 -3
  86. package/dist/plugins/Table/actions/setHeader.d.ts +2 -2
  87. package/dist/plugins/Table/addTableTrackingEvents.d.ts +2 -0
  88. package/dist/plugins/Table/components/Cell.d.ts +2 -0
  89. package/dist/plugins/Table/components/HeaderCell.d.ts +2 -0
  90. package/dist/plugins/Table/components/Row.d.ts +2 -0
  91. package/dist/plugins/Table/components/Table.d.ts +2 -0
  92. package/dist/plugins/Table/components/TableActions.d.ts +4 -0
  93. package/dist/plugins/Table/components/ToolbarButton.d.ts +4 -0
  94. package/dist/plugins/Table/createTablePlugin.d.ts +2 -0
  95. package/dist/plugins/Table/helpers.d.ts +15 -5
  96. package/dist/plugins/Table/index.d.ts +2 -189
  97. package/dist/plugins/Text/createTextPlugin.d.ts +2 -0
  98. package/dist/plugins/Text/index.d.ts +1 -2
  99. package/dist/plugins/Tracking/createTrackingPlugin.d.ts +10 -0
  100. package/dist/plugins/Tracking/index.d.ts +1 -0
  101. package/dist/plugins/Tracking/utils.d.ts +2 -0
  102. package/dist/plugins/TrailingParagraph/index.d.ts +2 -1
  103. package/dist/plugins/Voids/createVoidsPlugin.d.ts +2 -0
  104. package/dist/plugins/Voids/index.d.ts +1 -0
  105. package/dist/plugins/Voids/transformVoid.d.ts +6 -0
  106. package/dist/plugins/index.d.ts +5 -179
  107. package/dist/plugins/links-tracking.d.ts +6 -0
  108. package/dist/plugins/shared/EntityStatusIcon.d.ts +0 -1
  109. package/dist/plugins/shared/FetchingWrappedAssetCard.d.ts +1 -1
  110. package/dist/plugins/shared/FetchingWrappedEntryCard.d.ts +3 -3
  111. package/dist/plugins/shared/ToolbarButton.d.ts +0 -1
  112. package/dist/test-utils/assertOutput.d.ts +7 -0
  113. package/dist/test-utils/createEditor.d.ts +10 -4
  114. package/dist/test-utils/index.d.ts +2 -0
  115. package/dist/test-utils/jsx.d.ts +2 -2
  116. package/dist/test-utils/mockPlugin.d.ts +2 -0
  117. package/dist/test-utils/randomId.d.ts +4 -0
  118. package/dist/test-utils/setEmptyDataAttribute.d.ts +6 -0
  119. package/dist/test-utils/validation.d.ts +1 -0
  120. package/dist/types.d.ts +34 -9
  121. package/dist/useNormalizedSlateValue.d.ts +7 -0
  122. package/dist/useOnValueChanged.d.ts +7 -0
  123. package/package.json +28 -17
  124. package/CHANGELOG.md +0 -410
  125. package/dist/TrackingProvider.d.ts +0 -11
  126. package/dist/helpers/deserializer.d.ts +0 -3
  127. package/dist/helpers/normalizers.d.ts +0 -15
  128. package/dist/helpers/sanitizeSlateDoc.d.ts +0 -18
  129. package/dist/helpers/truncate.d.ts +0 -1
  130. package/dist/plugins/Bold/index.d.ts +0 -12
  131. package/dist/plugins/Code/index.d.ts +0 -12
  132. package/dist/plugins/CommandPalette/CommandPanel/InViewport/InViewport.d.ts +0 -37
  133. package/dist/plugins/InsertBeforeFirstVoidBlock/index.d.ts +0 -2
  134. package/dist/plugins/Italic/index.d.ts +0 -12
  135. package/dist/plugins/List/getListInsertFragment.d.ts +0 -6
  136. package/dist/plugins/NewLine/index.d.ts +0 -2
  137. package/dist/plugins/Paste/index.d.ts +0 -2
  138. package/dist/plugins/Paste/sanitizers/helpers.d.ts +0 -7
  139. package/dist/plugins/Paste/sanitizers/index.d.ts +0 -3
  140. package/dist/plugins/Paste/sanitizers/removeComments.d.ts +0 -2
  141. package/dist/plugins/Paste/sanitizers/sanitizeEntityBlocks.d.ts +0 -6
  142. package/dist/plugins/Paste/sanitizers/sanitizeTables.d.ts +0 -2
  143. package/dist/plugins/Table/TableActions.d.ts +0 -5
  144. package/dist/plugins/Table/normalizers.d.ts +0 -2
  145. package/dist/plugins/Underline/index.d.ts +0 -12
package/CHANGELOG.md DELETED
@@ -1,410 +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.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)
7
-
8
- **Note:** Version bump only for package @contentful/field-editor-rich-text
9
-
10
- # [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)
11
-
12
- ### Features
13
-
14
- - Forma v4 components adoption ([#805](https://github.com/contentful/field-editors/issues/805)) ([526bde6](https://github.com/contentful/field-editors/commit/526bde6e10e0ee3789705ec10fb31489af7ca59e))
15
-
16
- ### BREAKING CHANGES
17
-
18
- - adopts a new Forma v4 beta
19
-
20
- ## [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)
21
-
22
- ### Bug Fixes
23
-
24
- - **rich-text-editor:** specify font-family ([#907](https://github.com/contentful/field-editors/issues/907)) ([33dee3d](https://github.com/contentful/field-editors/commit/33dee3d6dbec66c7538cad2133d41692bd7839ca))
25
-
26
- ## [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)
27
-
28
- ### Bug Fixes
29
-
30
- - [] Remove test utils from peer dependencies ([#889](https://github.com/contentful/field-editors/issues/889)) ([3694bd7](https://github.com/contentful/field-editors/commit/3694bd7e706b8beb1f685167125f36ef0cbe82de))
31
-
32
- ## [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)
33
-
34
- **Note:** Version bump only for package @contentful/field-editor-rich-text
35
-
36
- ## [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)
37
-
38
- **Note:** Version bump only for package @contentful/field-editor-rich-text
39
-
40
- ## [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)
41
-
42
- **Note:** Version bump only for package @contentful/field-editor-rich-text
43
-
44
- ## [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)
45
-
46
- **Note:** Version bump only for package @contentful/field-editor-rich-text
47
-
48
- ## [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)
49
-
50
- **Note:** Version bump only for package @contentful/field-editor-rich-text
51
-
52
- ## [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)
53
-
54
- **Note:** Version bump only for package @contentful/field-editor-rich-text
55
-
56
- ## [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)
57
-
58
- **Note:** Version bump only for package @contentful/field-editor-rich-text
59
-
60
- ## [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)
61
-
62
- **Note:** Version bump only for package @contentful/field-editor-rich-text
63
-
64
- ## [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)
65
-
66
- **Note:** Version bump only for package @contentful/field-editor-rich-text
67
-
68
- ## [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)
69
-
70
- **Note:** Version bump only for package @contentful/field-editor-rich-text
71
-
72
- ## [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)
73
-
74
- **Note:** Version bump only for package @contentful/field-editor-rich-text
75
-
76
- ## [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)
77
-
78
- **Note:** Version bump only for package @contentful/field-editor-rich-text
79
-
80
- ## [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)
81
-
82
- **Note:** Version bump only for package @contentful/field-editor-rich-text
83
-
84
- ## [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)
85
-
86
- **Note:** Version bump only for package @contentful/field-editor-rich-text
87
-
88
- ## [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)
89
-
90
- **Note:** Version bump only for package @contentful/field-editor-rich-text
91
-
92
- ## [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)
93
-
94
- ### Bug Fixes
95
-
96
- - adjust rich-text version manually ([#781](https://github.com/contentful/field-editors/issues/781)) ([f770e4f](https://github.com/contentful/field-editors/commit/f770e4f731f1ebec0ac64881c8c60015709fa26d))
97
-
98
- # [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)
99
-
100
- ### Features
101
-
102
- - 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
103
-
104
- ## [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)
105
-
106
- **Note:** Version bump only for package @contentful/field-editor-rich-text
107
-
108
- ## [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)
109
-
110
- **Note:** Version bump only for package @contentful/field-editor-rich-text
111
-
112
- ## [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)
113
-
114
- **Note:** Version bump only for package @contentful/field-editor-rich-text
115
-
116
- ## [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)
117
-
118
- **Note:** Version bump only for package @contentful/field-editor-rich-text
119
-
120
- ## [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)
121
-
122
- **Note:** Version bump only for package @contentful/field-editor-rich-text
123
-
124
- ## [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)
125
-
126
- **Note:** Version bump only for package @contentful/field-editor-rich-text
127
-
128
- ## [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)
129
-
130
- **Note:** Version bump only for package @contentful/field-editor-rich-text
131
-
132
- ## [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)
133
-
134
- **Note:** Version bump only for package @contentful/field-editor-rich-text
135
-
136
- ## [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)
137
-
138
- **Note:** Version bump only for package @contentful/field-editor-rich-text
139
-
140
- ## [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)
141
-
142
- **Note:** Version bump only for package @contentful/field-editor-rich-text
143
-
144
- ## [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)
145
-
146
- ### Bug Fixes
147
-
148
- - 🐛 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))
149
-
150
- ## [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)
151
-
152
- **Note:** Version bump only for package @contentful/field-editor-rich-text
153
-
154
- ## [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)
155
-
156
- **Note:** Version bump only for package @contentful/field-editor-rich-text
157
-
158
- ## [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)
159
-
160
- **Note:** Version bump only for package @contentful/field-editor-rich-text
161
-
162
- ## [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)
163
-
164
- **Note:** Version bump only for package @contentful/field-editor-rich-text
165
-
166
- ## [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)
167
-
168
- **Note:** Version bump only for package @contentful/field-editor-rich-text
169
-
170
- # [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)
171
-
172
- ### Features
173
-
174
- - bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
175
-
176
- ## [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)
177
-
178
- **Note:** Version bump only for package @contentful/field-editor-rich-text
179
-
180
- ## [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)
181
-
182
- **Note:** Version bump only for package @contentful/field-editor-rich-text
183
-
184
- ## [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)
185
-
186
- **Note:** Version bump only for package @contentful/field-editor-rich-text
187
-
188
- ## [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)
189
-
190
- ### Bug Fixes
191
-
192
- - **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))
193
-
194
- ## [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)
195
-
196
- **Note:** Version bump only for package @contentful/field-editor-rich-text
197
-
198
- ## [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)
199
-
200
- **Note:** Version bump only for package @contentful/field-editor-rich-text
201
-
202
- ## [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)
203
-
204
- **Note:** Version bump only for package @contentful/field-editor-rich-text
205
-
206
- # [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)
207
-
208
- ### Features
209
-
210
- - 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))
211
-
212
- ## [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)
213
-
214
- **Note:** Version bump only for package @contentful/field-editor-rich-text
215
-
216
- ## [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)
217
-
218
- **Note:** Version bump only for package @contentful/field-editor-rich-text
219
-
220
- ## [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)
221
-
222
- ### Bug Fixes
223
-
224
- - use forma tokens for border radiuses ([#553](https://github.com/contentful/field-editors/issues/553)) ([f4eb745](https://github.com/contentful/field-editors/commit/f4eb74568c7bc0cc25028542821ba64e50e226bd))
225
-
226
- # [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)
227
-
228
- ### Features
229
-
230
- - 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))
231
-
232
- ## [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)
233
-
234
- **Note:** Version bump only for package @contentful/field-editor-rich-text
235
-
236
- ## [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)
237
-
238
- ### Bug Fixes
239
-
240
- - use correct prop types ([#538](https://github.com/contentful/field-editors/issues/538)) ([f878a3a](https://github.com/contentful/field-editors/commit/f878a3a4f5c2d32455ac7932540d612a1c1a461a))
241
-
242
- ## [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)
243
-
244
- **Note:** Version bump only for package @contentful/field-editor-rich-text
245
-
246
- ## [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)
247
-
248
- **Note:** Version bump only for package @contentful/field-editor-rich-text
249
-
250
- ## [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)
251
-
252
- **Note:** Version bump only for package @contentful/field-editor-rich-text
253
-
254
- # [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)
255
-
256
- ### Features
257
-
258
- - minHeight props ([#529](https://github.com/contentful/field-editors/issues/529)) ([672e5d1](https://github.com/contentful/field-editors/commit/672e5d10356547ba99888dfeedc5ffd7b6e264cb))
259
-
260
- ## [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)
261
-
262
- **Note:** Version bump only for package @contentful/field-editor-rich-text
263
-
264
- ## [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)
265
-
266
- **Note:** Version bump only for package @contentful/field-editor-rich-text
267
-
268
- ## [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)
269
-
270
- **Note:** Version bump only for package @contentful/field-editor-rich-text
271
-
272
- ## [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)
273
-
274
- **Note:** Version bump only for package @contentful/field-editor-rich-text
275
-
276
- ## [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)
277
-
278
- **Note:** Version bump only for package @contentful/field-editor-rich-text
279
-
280
- ## [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)
281
-
282
- **Note:** Version bump only for package @contentful/field-editor-rich-text
283
-
284
- ## [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)
285
-
286
- **Note:** Version bump only for package @contentful/field-editor-rich-text
287
-
288
- ## [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)
289
-
290
- **Note:** Version bump only for package @contentful/field-editor-rich-text
291
-
292
- ## [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)
293
-
294
- **Note:** Version bump only for package @contentful/field-editor-rich-text
295
-
296
- ## [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)
297
-
298
- **Note:** Version bump only for package @contentful/field-editor-rich-text
299
-
300
- ## [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)
301
-
302
- **Note:** Version bump only for package @contentful/field-editor-rich-text
303
-
304
- ## [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)
305
-
306
- **Note:** Version bump only for package @contentful/field-editor-rich-text
307
-
308
- ## [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)
309
-
310
- **Note:** Version bump only for package @contentful/field-editor-rich-text
311
-
312
- ## [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)
313
-
314
- **Note:** Version bump only for package @contentful/field-editor-rich-text
315
-
316
- ## [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)
317
-
318
- **Note:** Version bump only for package @contentful/field-editor-rich-text
319
-
320
- ## [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)
321
-
322
- **Note:** Version bump only for package @contentful/field-editor-rich-text
323
-
324
- ## [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)
325
-
326
- ### Bug Fixes
327
-
328
- - 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))
329
-
330
- ## [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)
331
-
332
- **Note:** Version bump only for package @contentful/field-editor-rich-text
333
-
334
- ## [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)
335
-
336
- **Note:** Version bump only for package @contentful/field-editor-rich-text
337
-
338
- ## [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)
339
-
340
- **Note:** Version bump only for package @contentful/field-editor-rich-text
341
-
342
- ## [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)
343
-
344
- **Note:** Version bump only for package @contentful/field-editor-rich-text
345
-
346
- ## [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)
347
-
348
- **Note:** Version bump only for package @contentful/field-editor-rich-text
349
-
350
- ## [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)
351
-
352
- **Note:** Version bump only for package @contentful/field-editor-rich-text
353
-
354
- ## [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)
355
-
356
- **Note:** Version bump only for package @contentful/field-editor-rich-text
357
-
358
- ## [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)
359
-
360
- **Note:** Version bump only for package @contentful/field-editor-rich-text
361
-
362
- ## [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)
363
-
364
- **Note:** Version bump only for package @contentful/field-editor-rich-text
365
-
366
- ## [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)
367
-
368
- **Note:** Version bump only for package @contentful/field-editor-rich-text
369
-
370
- ## [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)
371
-
372
- **Note:** Version bump only for package @contentful/field-editor-rich-text
373
-
374
- ## [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)
375
-
376
- **Note:** Version bump only for package @contentful/field-editor-rich-text
377
-
378
- ## [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)
379
-
380
- **Note:** Version bump only for package @contentful/field-editor-rich-text
381
-
382
- ## [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)
383
-
384
- ### Bug Fixes
385
-
386
- - 🐛 allow heigh overflow for hyperlink dialog ([#386](https://github.com/contentful/field-editors/issues/386)) ([2cfd46c](https://github.com/contentful/field-editors/commit/2cfd46c3d238ee32abad6a2ca48b422115d285c3))
387
-
388
- ## [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)
389
-
390
- **Note:** Version bump only for package @contentful/field-editor-rich-text
391
-
392
- ## [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)
393
-
394
- **Note:** Version bump only for package @contentful/field-editor-rich-text
395
-
396
- ## [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)
397
-
398
- **Note:** Version bump only for package @contentful/field-editor-rich-text
399
-
400
- ## [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)
401
-
402
- **Note:** Version bump only for package @contentful/field-editor-rich-text
403
-
404
- ## [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)
405
-
406
- **Note:** Version bump only for package @contentful/field-editor-rich-text
407
-
408
- ## [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)
409
-
410
- **Note:** Version bump only for package @contentful/field-editor-rich-text
@@ -1,11 +0,0 @@
1
- import * as React from 'react';
2
- export declare type RichTextTrackingActionName = 'insertTable' | 'insertTableRow' | 'insertTableColumn' | 'removeTable' | 'removeTableRow' | 'removeTableColumn' | 'paste';
3
- export declare type RichTextTrackingActionHandler = (name: RichTextTrackingActionName, data: Record<string, unknown>) => unknown;
4
- interface TrackingProviderProps {
5
- onAction: RichTextTrackingActionHandler;
6
- }
7
- export interface TrackingProvider {
8
- onViewportAction: (actionName: RichTextTrackingActionName, data?: Record<string, unknown>) => ReturnType<TrackingProviderProps['onAction']>;
9
- }
10
- export declare const TrackingProvider: React.FC<TrackingProviderProps>, useTrackingContext: any;
11
- export {};
@@ -1,3 +0,0 @@
1
- import { Deserialize, GetNodeDeserializerRule } from '@udecode/plate';
2
- export declare function deserializeLeaf(type: string, rules: GetNodeDeserializerRule[]): Deserialize;
3
- export declare function deserializeElement(type: string, rules: GetNodeDeserializerRule[]): Deserialize;
@@ -1,15 +0,0 @@
1
- import { NodeEntry } from 'slate';
2
- import { PlateEditor } from '@udecode/plate-core';
3
- import { CustomElement } from '../types';
4
- export declare type Normalizer = (editor: PlateEditor, entry: NodeEntry<CustomElement>) => true | undefined;
5
- /**
6
- * Injects a custom element normalization handler.
7
- *
8
- * Handlers must explicity return "true" to indicate a pass.
9
- * A pass is when a handler didn't encounter any normalization
10
- * paths (i.e. all nodes were valid)
11
- *
12
- * Important read:
13
- * https://docs.slatejs.org/concepts/11-normalizing#multi-pass-normalizing
14
- */
15
- export declare const withNormalizer: (editor: PlateEditor, handler: Normalizer) => void;
@@ -1,18 +0,0 @@
1
- import { BLOCKS, INLINES, Text } from '@contentful/rich-text-types';
2
- import { TextOrCustomElement } from 'types';
3
- declare type NodeType = BLOCKS | INLINES | Text['nodeType'];
4
- /**
5
- * Ensures "orphaned" text node elements (those without a parent capable of
6
- * validly rendering a text child node) are wrapped with a suitable parent
7
- * element to prevent failures on the validation layer.
8
- *
9
- * It is commonplace for third party plugins (including udecode) to reconcile
10
- * deletion events by inserting such nodes into their schema. This
11
- * subprocedure is intended as a guard against such cases.
12
- */
13
- export declare function sanitizeSlateDoc(nodes?: TextOrCustomElement[], parentNodeType?: NodeType): TextOrCustomElement[];
14
- /**
15
- * Ensures incoming void nodes have a child leaf text element.
16
- */
17
- export declare function sanitizeIncomingSlateDoc(nodes?: TextOrCustomElement[]): TextOrCustomElement[];
18
- export {};
@@ -1 +0,0 @@
1
- export declare function truncate(str: any, length: any): any;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import * as Slate from 'slate-react';
3
- import { PlatePlugin } from '@udecode/plate';
4
- import { CustomSlatePluginOptions } from 'types';
5
- interface ToolbarBoldButtonProps {
6
- isDisabled?: boolean;
7
- }
8
- export declare function ToolbarBoldButton(props: ToolbarBoldButtonProps): JSX.Element | null;
9
- export declare function Bold(props: Slate.RenderLeafProps): JSX.Element;
10
- export declare function createBoldPlugin(): PlatePlugin;
11
- export declare const withBoldOptions: CustomSlatePluginOptions;
12
- export {};
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import * as Slate from 'slate-react';
3
- import { PlatePlugin } from '@udecode/plate';
4
- import { CustomSlatePluginOptions } from 'types';
5
- interface ToolbarCodeButtonProps {
6
- isDisabled?: boolean;
7
- }
8
- export declare function ToolbarCodeButton(props: ToolbarCodeButtonProps): JSX.Element | null;
9
- export declare function Code(props: Slate.RenderLeafProps): JSX.Element;
10
- export declare function createCodePlugin(): PlatePlugin;
11
- export declare const withCodeOptions: CustomSlatePluginOptions;
12
- export {};
@@ -1,37 +0,0 @@
1
- export class InViewport extends React.Component<any, any, any> {
2
- static defaultProps: {
3
- testId: string;
4
- offset: number;
5
- };
6
- constructor(props: any);
7
- constructor(props: any, context: any);
8
- tGetDomPosition: any;
9
- nodeRef: any;
10
- lastOverflowAt: any;
11
- tOnOverflowTop: (...args: any[]) => any;
12
- tOnOverflowBottom: (...args: any[]) => any;
13
- tOnOverflowRight: (...args: any[]) => any;
14
- tOnOverflowLeft: (...args: any[]) => any;
15
- getDomPosition: () => void;
16
- bindEventListeners: () => void;
17
- handleOverflow: ({ top, left, bottom, right }: {
18
- top: any;
19
- left: any;
20
- bottom: any;
21
- right: any;
22
- }, windowWidth: any, windowHeight: any) => void;
23
- }
24
- export namespace InViewport {
25
- export namespace propTypes {
26
- export const offset: PropTypes.Requireable<number>;
27
- export const onOverflowTop: PropTypes.Requireable<(...args: any[]) => any>;
28
- export const onOverflowRight: PropTypes.Requireable<(...args: any[]) => any>;
29
- export const onOverflowBottom: PropTypes.Requireable<(...args: any[]) => any>;
30
- export const onOverflowLeft: PropTypes.Requireable<(...args: any[]) => any>;
31
- export const className: PropTypes.Requireable<string>;
32
- export const children: PropTypes.Requireable<any>;
33
- export const testId: PropTypes.Requireable<string>;
34
- }
35
- }
36
- import React from "react";
37
- import PropTypes from "prop-types";
@@ -1,2 +0,0 @@
1
- import { PlatePlugin } from '@udecode/plate';
2
- export declare function createInsertBeforeFirstVoidBlockPlugin(): PlatePlugin;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import * as Slate from 'slate-react';
3
- import { PlatePlugin } from '@udecode/plate';
4
- import { CustomSlatePluginOptions } from '../../types';
5
- interface ToolbarItalicButtonProps {
6
- isDisabled?: boolean;
7
- }
8
- export declare function ToolbarItalicButton(props: ToolbarItalicButtonProps): JSX.Element | null;
9
- export declare function Italic(props: Slate.RenderLeafProps): JSX.Element;
10
- export declare function createItalicPlugin(): PlatePlugin;
11
- export declare const withItalicOptions: CustomSlatePluginOptions;
12
- export {};
@@ -1,6 +0,0 @@
1
- /**
2
- * A copy of Plate's list plugin with a few adjustments
3
- * to fix pasting text inside lists.
4
- */
5
- import { PlateEditor, TDescendant } from '@udecode/plate';
6
- export declare const getListInsertFragment: (editor: PlateEditor) => (fragment: TDescendant[]) => void;
@@ -1,2 +0,0 @@
1
- import { PlatePlugin } from '@udecode/plate';
2
- export declare function createNewLinePlugin(): PlatePlugin;
@@ -1,2 +0,0 @@
1
- import { PlatePlugin } from '@udecode/plate';
2
- export declare const createPastePlugin: () => PlatePlugin;
@@ -1,7 +0,0 @@
1
- import { PlateEditor } from '@udecode/plate';
2
- export declare type SanitizerTuple = [Document, PlateEditor];
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;
6
- export declare const removeChildNodesUsingPredicate: (predicate: Predicate) => (nodeList: NodeList) => Node[];
7
- export {};
@@ -1,3 +0,0 @@
1
- export { removeComments } from './removeComments';
2
- export { sanitizeTables } from './sanitizeTables';
3
- export { sanitizeEntityBlocks } from './sanitizeEntityBlocks';
@@ -1,2 +0,0 @@
1
- import { SanitizerTuple } from './helpers';
2
- export declare const removeComments: ([doc, editor]: SanitizerTuple) => SanitizerTuple;
@@ -1,6 +0,0 @@
1
- import { SanitizerTuple } from './helpers';
2
- /**
3
- * Ensures the text selection from entity block elements is
4
- * not included in the paste buffer.
5
- */
6
- export declare const sanitizeEntityBlocks: ([doc, editor]: SanitizerTuple) => SanitizerTuple;
@@ -1,2 +0,0 @@
1
- import { SanitizerTuple } from './helpers';
2
- export declare const sanitizeTables: ([doc, editor]: SanitizerTuple) => SanitizerTuple;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const styles: {
3
- topRight: string;
4
- };
5
- export declare const TableActions: () => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { PlateEditor } from '@udecode/plate';
2
- export declare const addTableNormalizers: (editor: PlateEditor) => void;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import * as Slate from 'slate-react';
3
- import { PlatePlugin } from '@udecode/plate';
4
- import { CustomSlatePluginOptions } from 'types';
5
- interface ToolbarUnderlineButtonProps {
6
- isDisabled?: boolean;
7
- }
8
- export declare function ToolbarUnderlineButton(props: ToolbarUnderlineButtonProps): JSX.Element | null;
9
- export declare function Underline(props: Slate.RenderLeafProps): JSX.Element;
10
- export declare function createUnderlinePlugin(): PlatePlugin;
11
- export declare const withUnderlineOptions: CustomSlatePluginOptions;
12
- export {};