File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
react-notion-x/src/components Expand file tree Collapse file tree 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]
120120export type ExternalLinkFormat = [ '‣' , [ string , string ] ]
121121export type DateFormat = [ 'd' , FormattedDate ]
122122export type LinkMentionFormat = [ 'lm' , string ]
123+ export type SuggestionEditFormat = [ 'si' , string ]
123124
124125export interface FormattedDate {
125126 type : 'date' | 'daterange' | 'datetime' | 'datetimerange'
@@ -147,6 +148,7 @@ export type SubDecoration =
147148 | DiscussionFormat
148149 | ExternalObjectInstanceFormat
149150 | LinkMentionFormat
151+ | SuggestionEditFormat
150152
151153export type BaseDecoration = [ string ]
152154export type AdditionalDecoration = [ string , SubDecoration [ ] ]
Original file line number Diff line number Diff line change @@ -259,6 +259,9 @@ export function Text({
259259 return < EOI block = { externalObjectInstance } inline = { true } />
260260 }
261261
262+ case 'si' :
263+ return null
264+
262265 default :
263266 if ( process . env . NODE_ENV !== 'production' ) {
264267 console . log ( 'unsupported text format' , decorator )
You can’t perform that action at this time.
0 commit comments