AssignmentViewer — read-only render of an AssignmentFile (or a
raw JSONContent body). Use this anywhere a non-editable render of
the assignment is needed.
Embeds are rendered via the same assignment-embed node the editor
uses; supplying resolveFile enables image thumbnails, and supplying
onOpenEmbed makes embed cards clickable (typically opens a preview
modal in the consumer app).
AssignmentViewer— read-only render of anAssignmentFile(or a rawJSONContentbody). Use this anywhere a non-editable render of the assignment is needed.Embeds are rendered via the same
assignment-embednode the editor uses; supplyingresolveFileenables image thumbnails, and supplyingonOpenEmbedmakes embed cards clickable (typically opens a preview modal in the consumer app).