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:
lin onetwo
2025-12-17 22:44:06 +08:00
committed by GitHub
parent 48eeb4603a
commit 05f3e6d5a0
3 changed files with 47 additions and 0 deletions

View 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]]
```