word2canvas
) Moduleword2canvas
?A userscript that will create a new Canvas LMS module from a Word document (using some specific Word styles) - see sample w2c.docx for an annotated example.
:exclamation: The contents of your Word documents always remain on your computer, your web browser, and eventually as a Module in the Canvas instance you are working with.
word2canvas
?Manually creating a complex module using the Canvas web interface can be a touch tedious. Each item must be edited on its individual page. Multiple clicks... Especially if you already have the module content in a Word document and/or you are creating many modules. (e.g. migrating from one LMS to another)
Doesn't handle images embedded in Word documents.
The Canvas editor removes base64 encoded images from HTML. The method word2canvas
uses to convert the Word document to HTML converts images to base64 encoded images. The current suggested "solution" requires manual saving of these images and using them to replace placeholder images via the Canvas RCE.
Required to use very specific Word styles.
Your Word document must use very specific styles to correctly create Canvas Modules and their items. There is a learning curve involved.
Doesn't work for new Quizzes.
Entirely because Canvas does not yet have an API for new Quizzes.
word2canvas
Install a userscript manager (e.g. TamperMonkey) on your browser of choice and then install the word-2-canvas userscript.
By creating a module from the sample Word document.
Create a Word document containing content for your new Canvas module.
Visit the modules page of a Canvas course and use word-2-canvas to create a new module.
:grey_question: Feel free to use this repo's Issues to ask questions. Especially in these early development stages.
Note: :warning:
`word2canvas
is largely working and is being used. There remain some rough edges and missing features.
Currently creates Canvas modules including
The word-2-canvas button may not always appear on the Modules page. Solution: Reload the modules page. Apparent cause: Navigation between pages in a Canvas course doesn't always invoke word2Canvas to check if it's on the module page. A reload of the modules page forces the issue
:warning: It appears that this is a particular problem when using Firefox. Chromium-based browsers (e.g. Chrome and Edge) appear to work better.
For local development it is suggested to