I made this a while back ...https://alexhough.github.io/DropOntoToClose.html


Alex

On Monday, 5 March 2018 22:04:08 UTC, Mat wrote:
>
> Thanks BurningTreeC. Your code is what made it possible.
>
> 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.
>
> <:-)
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3dcb0b26-1dc4-425c-90f8-d5d1576fa618%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to