Hi, guys! I know tiddlywiki has a DragAndDropMechanism, it means when we copy something into the clipboard, and then press ctrl+v
onto the tiddlywiki, the content of the clipboard will be imported to the $:/import
tiddler.
In this context, I want to implement such a workflow:
- Firstly I copy an image link into my clipboard.
- When I press
ctrl+v
onto the tiddlywiki, the pasted text will be checked to see if it is an image link. - There will be a kind of transform button if it is.
- After press the button, the link will be transformed into an external image tiddler which has a
_canonical_uri
field and its value will be the link of this image. - In addition, I can also perform actions such as setting title of this external image tiddler.
I’ve read the related wikis in tiddlywiki, to be honest, I’m kind of lost in it.
Firstly, how can I get the pasted text ? I don’t find related system or shadow tiddlers about actions which will be performed when we press ctrl+v.