fix(richtext-lexical): remove optional chaining after this as transpilers are not handling it well (#4145)
This commit is contained in:
@@ -142,7 +142,7 @@ export class RelationshipNode extends DecoratorBlockNode {
|
||||
}
|
||||
|
||||
getTextContent(): string {
|
||||
return `${this?.__data?.relationTo} relation to ${this.__data?.value?.id}`
|
||||
return `${this.__data?.relationTo} relation to ${this.__data?.value?.id}`
|
||||
}
|
||||
|
||||
setData(data: RelationshipData): void {
|
||||
|
||||
Reference in New Issue
Block a user