mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-25 06:35:46 +00:00
Feat/import options (#9465)
* feat: add $:/tags/ImportOptions support on import panel
* feat: style of import option
* fix: conditional show import option
* Delete ImportOptions.tid
* feat: allow multiple import options
* Revert "Delete ImportOptions.tid"
This reverts commit 3487e3dac5.
* DEBUG options
* remove debug files
* Create #9465.tid
This commit is contained in:
15
editions/tw5.com/tiddlers/releasenotes/5.4.0/#9465.tid
Normal file
15
editions/tw5.com/tiddlers/releasenotes/5.4.0/#9465.tid
Normal file
@@ -0,0 +1,15 @@
|
||||
title: $:/changenotes/5.4.0/#9465
|
||||
description: Import UI now conditionally displays file-type-specific import options
|
||||
tags: $:/tags/ChangeNote
|
||||
release: 5.4.0
|
||||
change-type: enhancement
|
||||
change-category: hackability
|
||||
github-links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9465
|
||||
github-contributors: linonetwo
|
||||
|
||||
The import UI now displays import options based on the file types being imported. Import options are only shown when relevant files are detected, an example is:
|
||||
|
||||
```tid
|
||||
tags: $:/tags/ImportOptions
|
||||
condition: [match[text/x-markdown]] :or[match[text/markdown]]
|
||||
```
|
||||
Reference in New Issue
Block a user