--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/51c39046-28db-4b70-b119-6cfdcbad1307%40googlegroups.com.
Hi MohammadI’ve been meaning to do something about that, and have now added a hidden setting to disable the dropzone:There are docs here:Best wishes
Jeremy.
On 15 Mar 2020, at 10:32, Mohammad <mohamma...@gmail.com> wrote:
Is there any settings to disable dropzone?Consider you have created a Tiddlywiki and hide most UI elements to prevent readers from any change!Still drag and drop works! How one can simply disable drag and drop feature of TW temporary?--
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 tiddl...@googlegroups.com.
Mohammad,Just some inspirationSome of your nice buttons, cards and boxes in Shiraz could be used to display a drop zone that bypasses the default one and potentially treats the payload differently. Currently I drop links on a wiki which creates an untitled tiddler, which I have to open and configure as a link tiddler, however custom dropzones would be a nice addition, even one for the default drop if desired so it is less temperamental.
This is a nice idea! I will look how we can have customized drop zone! Like dragging a link from other browser tab, one can quickly create a bookmark to that page/link somehow a tiddlyclip effect.
\define make_bookmark() <$action-createtiddler $basetitle="Bookmark" text=<<actionTiddler>> />
<$droppable actions=<<make_bookmark>>> DROP HERE </$droppable>
I've tried to copy/past your example to tiddlywiki.com (in a new tiddler) then drag/drop a "json" file into the droppable area , but it didn't work with me. what did I miss here?
<$dropzone> drop file here </$dropzone>
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9ee036c8-b426-431c-89a7-3913dbda1001%40googlegroups.com.
I’ve made an update so that disabling drag and drop also disables drag and drop within the draggable list widgets:The updated docs are here:Best wishes
Jeremy.
On 18 Mar 2020, at 14:17, Mohamed Amin <msam...@gmail.com> wrote:
Thanks Eric for your reply, and yes, it works with me when I drag/drop links/text
On Wednesday, March 18, 2020 at 4:09:34 PM UTC+2, Eric Shulman wrote:On Wednesday, March 18, 2020 at 6:42:26 AM UTC-7, Mohamed Amin wrote:I've tried to copy/past your example to tiddlywiki.com (in a new tiddler) then drag/drop a "json" file into the droppable area , but it didn't work with me. what did I miss here?My example is specifically *not* for handling the dropping of a file (JSON or otherwise). Rather, it is for dropping a selected link (or text) and writing that value into the text field of a tiddler.If you want to drop a file, then use
<$dropzone> drop file here </$dropzone>as previously noted, this will trigger a tm-import-file message, which will then parse the JSON file for tiddlers and present the TWCore standard $:/import interface.-e--
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 tiddl...@googlegroups.com.
Many thanks Jeremy!This really helps to create read-only wikis.--Mohammad