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

Create a module using Canvas api #15

Open djplaner opened 2 years ago

djplaner commented 2 years ago

Create module

djplaner commented 2 years ago

Implement create module

Just aiming to modify the app to create a new module

completedView.render will start the work

Controller will have a handler for this event ??

Event

Pages being created, but not linked to module

djplaner commented 2 years ago

Order of items in module

Items are being added to the module, but not in the order of the Word doc. In part, because the completion of add item to module is not in order Perhaps suggesting that signals need to be used to ensure that item adding occurs in sequence.

Word doc

Updates for add item (position indicates espoused message to API)

Problem? position should be 1 indexed. Could this be a cause??

Final module

i.e. final module is matching the display, but not the position.