Skip to content

Commit

Permalink
Merge pull request #13558 from ckeditor/ck/13550-optional-text-proper…
Browse files Browse the repository at this point in the history
…ty-in-mentions

Fix (mention): Make a text property optional in `MentionFeedObjectItem` type. Closes #13550.
  • Loading branch information
niegowski authored Feb 27, 2023
2 parents ddffd03 + 0d662c6 commit aae1e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ckeditor5-mention/src/mentionconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export type MentionFeedObjectItem = {
/**
* Text inserted into the editor when creating a mention.
*/
text: string;
text?: string;
};

declare module '@ckeditor/ckeditor5-core' {
Expand Down

0 comments on commit aae1e64

Please sign in to comment.