File tree 2 files changed +5
-0
lines changed
react-notion-x/src/components
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ export type DiscussionFormat = ['m', string]
120
120
export type ExternalLinkFormat = [ '‣' , [ string , string ] ]
121
121
export type DateFormat = [ 'd' , FormattedDate ]
122
122
export type LinkMentionFormat = [ 'lm' , string ]
123
+ export type SuggestionEditFormat = [ 'si' , string ]
123
124
124
125
export interface FormattedDate {
125
126
type : 'date' | 'daterange' | 'datetime' | 'datetimerange'
@@ -147,6 +148,7 @@ export type SubDecoration =
147
148
| DiscussionFormat
148
149
| ExternalObjectInstanceFormat
149
150
| LinkMentionFormat
151
+ | SuggestionEditFormat
150
152
151
153
export type BaseDecoration = [ string ]
152
154
export type AdditionalDecoration = [ string , SubDecoration [ ] ]
Original file line number Diff line number Diff line change @@ -259,6 +259,9 @@ export function Text({
259
259
return < EOI block = { externalObjectInstance } inline = { true } />
260
260
}
261
261
262
+ case 'si' :
263
+ return null
264
+
262
265
default :
263
266
if ( process . env . NODE_ENV !== 'production' ) {
264
267
console . log ( 'unsupported text format' , decorator )
You can’t perform that action at this time.
0 commit comments