Hi Danielo The widget is not actually an Html element, so it does not behave like a > regular element. It is wikitext, so it is actually parsed by tiddlywiky and > inserted into the widget tree, that's why it is not an issue to not close > it. I'm not sure about the specification and how widgets should be created, > probably Jeremy can throw some light on this. There is no render before > field because it does not matter where the plugin is as long as it is a > direct child of the tiddler node. It just attach a listener to its parent, > it does not do anything itself. >
Within wikitext, both HTML elements and widgets are parsed by the same parse rule: https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/parsers/wikiparser/rules/html.js If the end tag is missing it defaults to the end of the tiddler or macro containing the starting tag. Personally, it feels more correct to use <$click/>, and close the tag explicitly, to avoid readers thinking that the text has been truncated. Best wishes Jeremy. > > Regards > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tiddlywiki+unsubscr...@googlegroups.com. > To post to this group, send email to tiddlywiki@googlegroups.com. > Visit this group at http://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/f419385f-03b4-4da0-bd21-ad4271aa4649%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJbV%2BizBMAbyKjWbGwu1AKwreO%3DwqQHJqi9ePUx1xmXwHg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.