mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-07-07 04:24:22 +00:00
20 lines
855 B
Plaintext
20 lines
855 B
Plaintext
![]() |
created: 20200315143638556
|
||
|
modified: 20200315143638556
|
||
|
tags: [[Hidden Settings]]
|
||
|
title: Hidden Setting: Disable Drag and Drop
|
||
|
type: text/vnd.tiddlywiki
|
||
|
|
||
|
To disable all the drag and drop operations that are built into the core, set the following tiddler to "no":
|
||
|
|
||
|
$:/config/DragAndDrop/Enable
|
||
|
|
||
|
To selectively re-enable drag and drop for an instance of the [[list-tagged-draggable Macro]] or [[list-links-draggable Macro]] you must ensure that the variable `tv-enable-drag-and-drop` is set to `yes` for the scope of the macro invocation. For example:
|
||
|
|
||
|
<$macrocall $name="wikitext-example-without-html" src="""<$set name="tv-enable-drag-and-drop" value="yes">
|
||
|
|
||
|
<<list-tagged-draggable tag:"Features">>
|
||
|
|
||
|
</$set>"""/>
|
||
|
|
||
|
Note that when using the DropzoneWidget and the DroppableWidget directly the ''enable'' attribute works independently of the global setting.
|