Joshua,

> there is a race condition bug in how the jsoneditor manipulated the DOM
vs how TW manipulates the DOM

Could you share the details on that?

That was the first TW plugin I wrote. Being a little new I found it
annoying not to be able to use a field in the same tiddler to store the
output json (in fact if no text reference is passed in, the default is a
field on the current widget) and so I tried to code around it and make it
work for that case. I think that was a mistake and I could easily see it
causing some kind of problems. Could that be the source of your issue?

Brian

On Fri, Mar 15, 2019 at 3:17 PM Joshua Fontany <[email protected]>
wrote:

> I'm experimenting with rendering UI by setting up JSON Schemas. There was
> an old TW port of one of the earlier versions of this project, and I was
> able to import the currently maintained module into that plugin.
>
> Than I discovered that there is a race condition bug in how the jsoneditor
> manipulated the DOM vs how TW manipulates the DOM. I scanned through the
> docs and sourcecode a while, and it seems like they have built this
> modularly enough that I can change the "rendering engine" file for each
> Input type and make them render native TW widgets. I will have to cut out
> all of json-editor's native messaging code and just rely on the TW refresh
> and get/setTextReference functions.
>
> This seems doable, but wanted to see if anyone has run into any 'gotchas'
> or roadblocks in similar cases...
>
> origin: https://github.com/json-editor/json-editor
>
> previous TW plugin: https://github.com/btheado/jsoneditor
>
> current TW plugin (broken, does not push json updates back to TW):
> https://github.com/joshuafontany/TW5-jsoneditor
>
> current Example wiki:
> https://joshuafontany.github.io/TW5-jsoneditor/
>
> Best,
>
> Joshua Fontany
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tiddlywikidev.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywikidev/65200232-3d7d-448e-a741-c3a652d60cca%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywikidev/65200232-3d7d-448e-a741-c3a652d60cca%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/CAO5X8CyrmRGau%2B8f4Z%2B0W%3D2g%3Dq8LtdqpdueCDDZmTMf98qVLRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to