This commit is contained in:
twMat 2024-04-25 23:19:55 +08:00 committed by GitHub
commit d430855883
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 7 deletions

View File

@ -1,26 +1,28 @@
created: 20130825162000000
modified: 20170328160211362
tags: Features
title: Importing Tiddlers
title: Importing
type: text/vnd.tiddlywiki
You can import tiddlers into a ~TiddlyWiki from external files or directly from another ~TiddlyWiki.
You can import content into a ~TiddlyWiki from other ~TiddlyWikis or from external files.
!! Importing content from external files
!! Import non-tiddler content
There are several ways to import content (including text, images, pdf documents, etc.) from external files:
There are several ways to import and convert content into tiddlers, including text, images, pdf documents, etc:
* Use the <<.icon $:/core/images/import-button>> ''import'' button (under the ''Tools'' tab in the sidebar) to select a local file
* Drag and drop files from Windows Explorer or OS X Finder etc. into the ~TiddlyWiki browser window
* Paste content directly from the clipboard using the menu or keyboard shortcut (<kbd>ctrl-V</kbd> or <kbd>cmd-V</kbd>)
** Currently supported in Chrome, Firefox and Edge (but not Internet Explorer)
Most files are imported as individual tiddlers. The exceptions are:
Most files are converted into individual tiddlers. The exceptions are:
* ''.html'' files that are recognised as a ~TiddlyWiki file are parsed to extract the tiddlers within them
* ''.json'' files are parsed to extract the tiddlers within them. They can be created by [[exporting them|How to export tiddlers]] from another ~TiddlyWiki. ~TiddlyWiki accepts JSON files that contain either a single tiddler fields object, or an array of tiddler fields objects
!! Importing content from other ~TiddlyWiki browser windows
!! "Drag'n drop" tiddlers between ~TiddlyWikis
Tiddlers can be imported from other ~TiddlyWiki browser windows via [[Drag and Drop]]. Drag a TiddlyWiki internal link or a tag from one ~TiddlyWiki browser window to another. Dragging an internal link will import a single tiddler while dragging a tag pill will import all of the tiddlers that carry that tag.
You can [[drag and drop|Drag and Drop]] tiddlers from other ~TiddlyWiki browser windows into your ~TiddlyWiki.
* Drag a [[tiddler link|TiddlerLinks]] to import a single tiddler
* Drag a [[tag pill|Tagging]] to import all of the tiddlers that carry that tag.