The dropzone widget creates an area into which the user can drag files and other objects. It also supports pasting via the clipboard, although browser support is currently limited.
It sends a WidgetMessage: tm-import-tiddlers carrying a JSON representation of the tiddlers to be imported up through its parents. This message usually trapped by the NavigatorWidget which adds the tiddlers to the store and updates the story to display them.
|deserializer||New in 5.1.15 Optional name of deserializer to be used (by default the deserializer is derived from the file extension)|
The list of available deserializers can be inspected by executing
The dropzone widget displays any contained content within the dropzone.
The dropzone widget creates an HTML
<div class="tc-dropzone"> to contain its content. During a drag operation the class
tc-dragover is added. CSS is used to provide user feedback.
The following data transfer types are supported: