Skip to content

Commit

Permalink
prepare for richtext
Browse files Browse the repository at this point in the history
  • Loading branch information
anemne authored and mathiazom committed Oct 16, 2024
1 parent 057c318 commit c2d9e02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion studioShared/schemas/objects/richTextBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ const richTextBlock = defineField({
text: "richText",
},
prepare({ text }) {
//TODO: add preview
return {
title: text, //Does not work
};
},
},
});
Expand Down

0 comments on commit c2d9e02

Please sign in to comment.