Closed caffodian closed 7 years ago
Insanely annoying bug - for some reason, dataReady fires before the html is set in one particular test, and never afterwards.
Code looks good. Reviewing JS is hard, but I don't see anything that jumps out as wrong.
When the document content is replaced, look at the headings, and figure out which numbering scheme best fits the document.
This is mainly for loading the doc, but also works for if someone replaces all the content via the source panel.
fixes #67