Hey Mat,

Just want to bump this as it's something I've found myself needing lately 
as well. I don't have a good solution, but it seems like having an option 
to not wrap each item in a div would be reasonable.

On Wednesday, March 10, 2021 at 1:58:11 PM UTC-6 Mat wrote:

> I want to make tables with DnD rearrangable rows because the content has 
> to be presented in neat columns.
>
> I am trying to use the list-links-draggable 
> <https://tiddlywiki.com/prerelease/#list-links-draggable%20Macro> macro 
> for this: 
>
> text:
> <table>
> <<list-links-draggable type:table subtype:tr itemTemplate:mytemplate>>
> </table>
> list: 
> one two three four
>
>
> title: mytemplate
> text: <td><$link/></td>
>
>
> It does result in a table *but* a lot of extra divs are added, ruining 
> the table. It has this structure:
>
> <table>
> <tr class="tc-droppable">
>    <div class="tc-droppable-placeholder"></div>
>    <div><td>...first item..</td></div>
> </tr>
> <tr class="tc-droppable">
>    <div class="tc-droppable-placeholder"></div>
>    <div><td>...second item..</td></div>
> </tr>
> ...etc...
> </table>
>
> What can I do to prevent this, or do I misunderstand something?
>
> Is it a reasonable to request a new native macro for this? 
>
> Thank you!
>
> <:-)
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/24947b5f-93fe-4225-8d0a-5546b5ee239fn%40googlegroups.com.

Reply via email to