Re: [tw5] Adding Prefixes/suffixes to a block transclusion

2020-03-08 Thread Reece Shaw
Floating the prefix left seems to do the trick, it even wraps the block text around the float which is visually appealing for these purposes. I run up against a lot of CSS/HTML issues because of my wiki structure. I imagine being able to apply a class to a transclusion would be helpful for

Re: [tw5] Adding Prefixes/suffixes to a block transclusion

2020-03-08 Thread Jeremy Ruston
Hi Mat > This, and Reeces other similar "block issues" caused from transclusion > blockmode, are interesting. Maybe the transclusionwidget should have a class > attribute? The transclude widget doesn’t generate any DOM elements itself, and so there would be nowhere to attach the class. But

Re: [tw5] Adding Prefixes/suffixes to a block transclusion

2020-03-08 Thread Mat
Jeremy Ruston wrote: > > It may be worth trying to use CSS float: left to position the prefix? > ...and he'd have to move the transclusion to the right also, I'd think. This, and Reeces other similar "block issues" caused from transclusion blockmode, are interesting. Maybe the transclusionwidget

Re: [tw5] Adding Prefixes/suffixes to a block transclusion

2020-03-08 Thread Jeremy Ruston
Hi Reece It may be worth trying to use CSS float: left to position the prefix? Best wishes Jeremy > On 8 Mar 2020, at 03:31, Reece Shaw wrote: > > Hello all, > > Currently I am using transclusions in block mode to create some text blocks > from a data tiddler. Ideally, to display the data

[tw5] Adding Prefixes/suffixes to a block transclusion

2020-03-07 Thread Reece Shaw
Hello all, Currently I am using transclusions in block mode to create some text blocks from a data tiddler. Ideally, to display the data from said data tiddler, I would like to add a prefix to the rendered text that appears in line with the text from the field. Problem is that if I include