Workflow for developing plugins for TW5 with webpack?

110 views
Skip to first unread message

leeand00

unread,
Aug 30, 2018, 4:17:30 PM8/30/18
to TiddlyWikiDev
Does anyone use webpack in their Tiddlywiki 5 plugin development?

Can someone please explain to me a development workflow that works with it?

Thank you,
   Andrew J. Leer

PMario

unread,
Aug 31, 2018, 2:10:10 AM8/31/18
to TiddlyWikiDev
Hi Andrew,

There is no workflow to work with webpack, because it only would create a great mess. ... Webpack was built for a different use-case.

If you tell us, what you want to achieve, we probably can tell you, how to do it with the TW build-workflow.

-m

leeand00

unread,
Sep 27, 2018, 11:23:14 PM9/27/18
to TiddlyWikiDev
I wanted to create a plugin for using popper.js and tippy.js to display tooltips on top of elements in tiddlers.

I was eventually hoping to use it to display tooltips on top of displayed MathML equations (if that's possible).

Anyway using node, npm, babel and webpack 4 I've been able to create the tooltips; integrating them into TW5 would be incredible, but so far I haven't been able to do that.

TonyM

unread,
Sep 28, 2018, 12:31:18 AM9/28/18
to TiddlyWikiDev
Leannd00

Have you tried simle html ?

<p title="I'm a tooltip">
This is a paragraph.
</p>

the title Attribute works on many html Elements

Regards
tony

leeand00

unread,
Jan 1, 2019, 10:56:51 PM1/1/19
to TiddlyWikiDev
Wow thanks man!  That's great!
Reply all
Reply to author
Forward
0 new messages