@@ -209,31 +209,30 @@ export const uiComponents: Registry['items'] = [
209
209
description : 'A popover interface for managing comments and replies.' ,
210
210
docs : [
211
211
{ route : '/docs/comments' } ,
212
- { route : siteConfig . links . plateProComponent ( 'comments-popover ' ) } ,
212
+ { route : siteConfig . links . plateProComponent ( 'block-discussion ' ) } ,
213
213
] ,
214
214
examples : [ 'comments-demo' , 'comments-pro' ] ,
215
215
} ,
216
216
files : [
217
217
{ path : 'plate-ui/comment-create-form.tsx' , type : 'registry:ui' } ,
218
218
{ path : 'plate-ui/comment.tsx' , type : 'registry:ui' } ,
219
219
{ path : 'plate-ui/block-discussion.tsx' , type : 'registry:ui' } ,
220
+ { path : 'plate-ui/block-suggestion.tsx' , type : 'registry:ui' } ,
220
221
] ,
221
- name : 'comments-popover ' ,
222
+ name : 'block-discussion ' ,
222
223
registryDependencies : [ 'popover' , 'avatar' ] ,
223
224
type : 'registry:ui' ,
224
225
} ,
225
226
{
226
227
dependencies : [ '@udecode/plate-suggestion' ] ,
227
228
doc : {
228
- description : 'A popover interface for managing suggestions .' ,
229
+ description : 'A suggestion line break .' ,
229
230
docs : [ { route : '/docs/suggestion' } ] ,
230
231
} ,
231
232
files : [
232
233
{ path : 'plate-ui/suggestion-line-break.tsx' , type : 'registry:ui' } ,
233
- { path : 'plate-ui/block-suggestion.tsx' , type : 'registry:ui' } ,
234
- { path : 'plate-ui/block-discussion.tsx' , type : 'registry:ui' } ,
235
234
] ,
236
- name : 'suggestion-popover ' ,
235
+ name : 'suggestion-line-break ' ,
237
236
type : 'registry:ui' ,
238
237
} ,
239
238
{
@@ -1096,6 +1095,17 @@ export const uiNodes: Registry['items'] = [
1096
1095
registryDependencies : [ ] ,
1097
1096
type : 'registry:ui' ,
1098
1097
} ,
1098
+ {
1099
+ dependencies : [ '@udecode/plate-suggestion' ] ,
1100
+ doc : {
1101
+ description : 'A text component for suggestion.' ,
1102
+ docs : [ { route : '/docs/suggestion' } ] ,
1103
+ } ,
1104
+ files : [ { path : 'plate-ui/suggestion-leaf.tsx' , type : 'registry:ui' } ] ,
1105
+ name : 'suggestion-leaf' ,
1106
+ registryDependencies : [ ] ,
1107
+ type : 'registry:ui' ,
1108
+ } ,
1099
1109
{
1100
1110
dependencies : [ '@udecode/plate-date' ] ,
1101
1111
doc : {
0 commit comments