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

Implement options for a "content interface-like" use of accordions #42

Closed djplaner closed 2 years ago

djplaner commented 2 years ago

By default Word docs generate modules with separate items. Each H1 geneates a new page.

Some use cases prefer the accordion approach. Integrate options to support different approaches to creating content. Idea is that use can specify the option as they are importing.

  1. The current default - H1 always separate pages
  2. [ ] merge Canvas and "content interface" - H1 separate pages, H2 accordions
  3. [ ] full "content interface" - modules with 1 page with accordions
djplaner commented 2 years ago

Design

Design advice followed

Code design

Complete may need different classess, perhaps through inhertiance