Simon-Initiative / course-digest

Tool to produce a summary or digest of OLI course package contents
MIT License
2 stars 0 forks source link

[ENHANCEMENT] Detect & replace image refs in DND initiators [MER-2519] #195

Closed andersweinstein closed 1 year ago

andersweinstein commented 1 year ago

PCHW course uses DNDs in which draggables ('initiators') are images, not text, and also includes images in some layout tables ('targetArea's). Digest tool was not processing image references in these locations, so these images were not getting included in the media library and relative references to webcontent were not rewritten in these sections. This change adds this processing for image references in the initiator or targetArea section of a custom drag and drop parallel to the handling already done for image refs in the DND style sheet.

andersweinstein commented 1 year ago

Also needs to handle images in targetArea