djplaner / word-to-canvas-module

A userscript that will create a Canvas Module (including all module items) from a Word document (using special styles)
https://djplaner.github.io/word-to-canvas-module/
MIT License
0 stars 0 forks source link

Handle "bb Image" style #38

Open djplaner opened 2 years ago

djplaner commented 2 years ago

Pages like 3203EDN Resources use content collection hosted images in img tags.

downloadContent.py now translates these into a new style Blackboard Image that is similar to the Embed style (i.e. encoded HTML that needs to be reinserted) but with two types

djplaner commented 2 years ago

REcognising and decoding

CUrrent testing reveals the issue of a single collection of bbImage styled text being turned into multiple sequential span=bbImage and each on being treated individually. Need to

djplaner commented 2 years ago

handling span.canvasImage

Last stage needs to detect span.canvasImage and try to find matching filenames.

  1. Figure out which event handler to use

e.g. the existing file links one or create a new one?

New one will require an