Very interesting...I wonder if it could work for the preview pane in edit mode.
An issue, that actually get's back to your original question in that other thread; It would be neat to also be able to use this when in edit mode. I.e drag'n drop an icon and have the code appear in the editor. Currently, only the title of the source tiddler is dropped but it would be better if dropping these Drag'n Drop Blocks automatically caused cloning of the source tiddler, like it does in view mode. IMO drag'n dropping such blocks should use the same command in edit mode and view mode, i.e merely drag and drop, no "Ctrl+...".
Another issue is that in view mode it is currently not possible to inject rather than append the block. It is not sure that one would want the block at the end. I'm guessing this is a difficult problem, i.e to recognize exactly where the block is dropped in the view mode text.Also, we should ideally have blocks that can encompass existing content, such as <div>...</div> or //...// and, in edit mode, maybe even \define ... \end.
...In that other thread Surya expressed a wish for using this to make tables. I agree. I think it would be neat with a solution I've seen in word editors where you click(!) on the icon and have a 'grid' pop up that symbolizes a generic table, where you visually mark out how many rows*columns you want in your table. (Suryas wish for the table fields to then be editable in view mode is a different matter though. Solvable, but a different matter.)Generally, the idea to have the icons really be buttons is pretty neat. Like it the table case, it can be used to show a popup for filling in any parameter/attribute values - but as a button it can of course be used for anything.
...Idea: Drop outside of tiddlers, e.g to left of story river, to create a new tiddler with that code. Would make for simple way to create template tiddlers....
Idea for later; imagine a toolbox with such icons, perhaps residing in a sidebar tab. Maybe that toolbox could also have a drop area... that, if code is dropped there, creates a tiddler with the dropped text as content and a new icon is added to the toolbox for that tiddler! A kind of clipboard for permanently reusable text/code.<:-)
<$list filter="[tag[HelloThere]]">
<$draggable tiddler={{!!text}}><$text text=<<currentTiddler>>/></$draggable>
</$list>
@Jeremy has pointed out that dragging the content of a tiddler is already possible this, you can try it on tiddlywiki.com
@Jeremy has pointed out that dragging the content of a tiddler is already possible this, you can try it on tiddlywiki.com<$list filter="[tag[HelloThere]]"> <$draggable tiddler={{!!text}}><$text text=<<currentTiddler>>/></$draggable> </$list>
Ha!Or to make it even more specific to clarify the simplicity of it:
<$draggable tiddler={{_source_tid_}}>{{_some_icon_}}</$draggable>BUT there is an issue: The result is surrounded by [[ ... ]]. How can these brackets be omitted? (@Jeremy - ?)
I made some modifications to the demo/experiment site. Now you can drop onto either of the view mode text area or the editor! (As noted, in editor the result is surrounded by [[...]].)<:-)
tiddler that contains the whole dragndrop table and I think it's structured so that it's not that hard to understand how it works
anybody interested feel free to use it, modify it, hack something on top of it ...
BTC
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4a08d1d0-477b-4613-971a-bc66719e8aee%40googlegroups.com.
Have a look at the two Kanban edition: they're listed on TW.com
Alex (in haste)
On 7 March 2018 at 09:06, BurningTreeC <hypnotize...@gmail.com> wrote:
Next step for me is to create a tag pill that represents a widget or a macro
the dropdown holds the possible attributes - they can be selected and then their values can be inserted
the closing parts of widgets or html tags need to be handled, too
that's something I'm gathering ideas for atm
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.