Re: [tw5] Disable drop zone

2020-03-20 Thread Sylvain Naudin


Le vendredi 20 mars 2020 15:53:08 UTC+1, Mohammad a écrit :
>
> Many thanks Jeremy!
> This really helps to create read-only wikis.
>
> --Mohammad 
>


I agree !!
Sylvain 

-- 
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/91be5b3c-1a2a-4fd9-8994-c742eafc666d%40googlegroups.com.


Re: [tw5] Disable drop zone

2020-03-20 Thread Mohammad
Many thanks Jeremy!
This really helps to create read-only wikis.

--Mohammad 


On Friday, March 20, 2020 at 2:49:58 PM UTC+3:30, Jeremy Ruston wrote:
>
> I’ve made an update so that disabling drag and drop also disables drag and 
> drop within the draggable list widgets:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/cb52d709c2177561a0de8fc808ae2f8f6853a011
>
> The updated docs are here:
>
>
> https://tiddlywiki.com/prerelease/#Hidden%20Setting%3A%20Disable%20Drag%20and%20Drop
>  
> 
>
> Best wishes
>
> Jeremy.
>
> On 18 Mar 2020, at 14:17, Mohamed Amin > 
> 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 
>>
>> 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 .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/9ee036c8-b426-431c-89a7-3913dbda1001%40googlegroups.com
>  
> 
> .
>
>
>

-- 
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/056c8259-4ba7-4277-b095-e4c64cfd8095%40googlegroups.com.


Re: [tw5] Disable drop zone

2020-03-20 Thread Jeremy Ruston
I’ve made an update so that disabling drag and drop also disables drag and drop 
within the draggable list widgets:

https://github.com/Jermolene/TiddlyWiki5/commit/cb52d709c2177561a0de8fc808ae2f8f6853a011
 


The updated docs are here:

https://tiddlywiki.com/prerelease/#Hidden%20Setting%3A%20Disable%20Drag%20and%20Drop
 

Best wishes

Jeremy.

> On 18 Mar 2020, at 14:17, Mohamed Amin  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 
> 
> 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 tiddlywiki+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/9ee036c8-b426-431c-89a7-3913dbda1001%40googlegroups.com
>  
> .

-- 
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/9F90F041-8247-4B8F-9CB5-2117ECF4019D%40gmail.com.


Re: [tw5] Disable drop zone

2020-03-16 Thread Mohammad
Hi Jeremy,
 That is wonderful. Works like a charm. A million thanks.
I have minor comment, I will put on the GitHub

By the way, I have developed an Admin feature in TW-Utility plugin uses a 
shortcut combination alt+ctl+L 
to switch between admin-read-only mode and now it works great.

I soon announce TW-Utility with this new feature.

--Mohammad

On Monday, March 16, 2020 at 12:20:19 AM UTC+3:30, Jeremy Ruston wrote:
>
> Hi Mohammad
>
> I’ve been meaning to do something about that, and have now added a hidden 
> setting to disable the dropzone:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/bc687e57834efa312cca126af222613ef241c585
>
> There are docs here:
>
>
> https://tiddlywiki.com/prerelease/#Hidden%20Setting%3A%20Disable%20Page%20Dropzone
>  
> 
>
> Best wishes
>
> Jeremy.
>
> On 15 Mar 2020, at 10:32, Mohammad > 
> 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 .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/51c39046-28db-4b70-b119-6cfdcbad1307%40googlegroups.com
>  
> 
> .
>
>
>

-- 
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/39e5a74d-3bec-4251-a4eb-419d3487101f%40googlegroups.com.


Re: [tw5] Disable drop zone

2020-03-15 Thread Jeremy Ruston
Hi Mohammad

I’ve been meaning to do something about that, and have now added a hidden 
setting to disable the dropzone:

https://github.com/Jermolene/TiddlyWiki5/commit/bc687e57834efa312cca126af222613ef241c585
 


There are docs here:

https://tiddlywiki.com/prerelease/#Hidden%20Setting%3A%20Disable%20Page%20Dropzone
 

Best wishes

Jeremy.

> On 15 Mar 2020, at 10:32, Mohammad  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 tiddlywiki+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/51c39046-28db-4b70-b119-6cfdcbad1307%40googlegroups.com
>  
> .

-- 
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/518729C6-5464-4856-9FA5-70F62C56C625%40gmail.com.


[tw5] Disable drop zone

2020-03-15 Thread Mohammad
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/51c39046-28db-4b70-b119-6cfdcbad1307%40googlegroups.com.