sukima / tiddlywiki-reveal-js

Embed Reveal.js presentations inside a TiddlyWiki
https://sukima.github.io/tiddlywiki-reveal-js/
22 stars 6 forks source link

RSOD if I want to see the parsetree. #2

Open pmario opened 4 years ago

pmario commented 4 years ago

See Attachment.

empty.zip

If I select preview mode "parse tree" I do get a RSOD in line 38 of presentation.js

pmario commented 4 years ago

Open the file in the zip and select the "Draft tiddler" in the bottom of the screen. -> Error.

sukima commented 4 years ago

I think I forgot to add that to the known issues section of the readme. Considering Reveal.js is a one and done procedure I don't know how to have it live update in a preview. Looking for advise on this.

sukima commented 4 years ago

@pmario I haven't been able to reproduce the ROSD. I think perhaps we are using the plugin differently. I just added a refresh method and am wondering if this would change anything for you.

pmario commented 4 years ago

Hi. Did you open the empty.html. ... If you open the red draft tiddler in the footer, you should see the problem.

I did import the plugin from https://sukima.github.io/tiddlywiki-reveal-js/. No changes. I user win10 and FF latest

sukima commented 4 years ago

Making a presentation currently and did see the RSOD but only when I was removing already rendered slides (something that would happen during a preview of a presentation) I think it is due to tiddlywiki keeping tabs on the DOM nodes and Reveal/my widgets changing the DOM under tiddlywiki's feet.

I'll continue to dive in but I've avoided the issue by closing the presentation tiddler (or preview) while editing the slides.

sukima commented 4 years ago

Solutions: