- thanks tony!

i did go with the latter method, i.e.removed the DropzoneWidget in the
shadow tiddler '$:/core/ui/PageTemplate' - which works perfectly! (as much
as i have tested, so far...) - no more "$:/Import" tiddler that did pop-up
without this fix - great!

however, a side effect of this change makes it possible (for example) to
drag a url and drop it into my "read-only-mode" wiki, and the browser does
in fact look-up that url! :-) i guess that's the default behaviour for
browsers to do. but, it's easy to go back since the user can just hit the
back button, and my "read-only-mode" single-file-wiki is reloaded from disk
- to extend the feature, maybe it could be nice to disable (or maybe not,
since it's the de-facto way for browsers to do...) the standard behaviour -
to look-up the new url - and just ignore the "url drop". anyway, no more
"$:/Import" tiddler to confuse the readers of the "read-only-mode" wiki -
thanks again, tony!

i think this is a feature that would be nice to have with an "easy tick"
check box in the configuration panel

cheers!
/ch

Den fre 18 jan. 2019 kl 00:15 skrev TonyM <[email protected]>:

> *Quick and Dirty*
>
> The Tiddler $:/core/ui/ViewTemplate/import is tagged with $:/tags/ViewTemplate
> the
> $:/Import
> Tiddler will be created and Opened but you can't import anything
>
> *Less Dirty (but edits important shadow tiddler)*
>
> Edit
> $:/core/ui/PageTemplate
>
> And remove <$dropzone> and </$dropzone>
>
> Delete your edited $:/core/ui/PageTemplate to restore function
>
> Regards
> Tony
>
> On Tuesday, January 15, 2019 at 6:10:27 AM UTC+11, ch wrote:
>>
>> hi,
>>
>> i've made a simple "read-only-mode" of a wiki (with a couple of macros,
>> stylesheets and viewtemplates), but noticed that i also need to disable
>> drag and drop completely (i.e. not able to drag and drop anything within
>> the wiki or from other windows) so that tiddler "$:/Import" doesn't pop-up
>> when an item is dropped into the wiki.
>>
>> so, is it possible to implement this feature with a simple stylesheet, or
>> other configuration options?
>>
>> kind regards,
>>
>> ch
>>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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/ffda72b6-3552-47bb-bfb4-f8c7641e7fcc%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/ffda72b6-3552-47bb-bfb4-f8c7641e7fcc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CALyWh238HoMCK%3D7LcoB%2BSmWo3_o%3DFn8yxb%2BXw3Se3tWKfb5mbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to